3 * - By John Hodge (thePowersGang)
5 * CIPCChannel_AcessIPCPipe.hpp
6 * - IPC Channel :: Acess' IPC Pipe /Devices/ipcpipe/<name>
8 #ifndef _CIPCCHANNEL_ACESSIPCPIPE_HPP_
9 #define _CIPCCHANNEL_ACESSIPCPIPE_HPP_
11 #include <IIPCChannel.hpp>
12 #include <CClient.hpp>
18 class CClient_AcessIPCPipe:
21 friend class CIPCChannel_AcessIPCPipe;
23 ::std::vector<uint8_t> m_rxbuf;
25 CClient_AcessIPCPipe(IIPCChannel& channel, int fd);
26 ~CClient_AcessIPCPipe();
28 void SendMessage(CSerialiser& message);
33 class CIPCChannel_AcessIPCPipe:
37 ::std::list<CClient_AcessIPCPipe> m_clients;
39 CIPCChannel_AcessIPCPipe(const ::std::string& suffix);
40 virtual ~CIPCChannel_AcessIPCPipe();
42 virtual int FillSelect(fd_set& rfds);
43 virtual void HandleSelect(const fd_set& rfds);