summaryrefslogtreecommitdiff
path: root/p2pvr/lib/muxer.h
blob: 5c8ef8e3766a6b909bc951ec0d7f9d97c790b023 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef MUXER_H
#define MUXER_H

#include <p2pvr.h>

class Muxer : public P2PVR::RawDataClient {
	public:
		Muxer(const P2PVR::RawDataClientPrx & target);
		~Muxer();

		bool NewData(const P2PVR::Data &, const Ice::Current &);

	private:
		bool ReadMuxerAndSend() const;
		const P2PVR::RawDataClientPrx & target;
		int fds[2];
};

#endif