X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin4_src%2FServer%2Finclude%2FCIPCChannel_AcessIPCPipe.hpp;h=c4ec004206fa7922b5832f5457f098a5aa3e2781;hb=HEAD;hp=1e24b0e7bfbbe57ec3a063e059c2433d22eaaad0;hpb=f0ca31bc3f9c66a7fced9afcab9a6cacc8d1d647;p=tpg%2Facess2.git diff --git a/Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp b/Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp index 1e24b0e7..c4ec0042 100644 --- a/Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp +++ b/Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp @@ -9,20 +9,30 @@ #define _CIPCCHANNEL_ACESSIPCPIPE_HPP_ #include +#include #include #include namespace AxWin { -class CClient_AcessIPCPipe +class CClient_AcessIPCPipe: + public CClient { + friend class CIPCChannel_AcessIPCPipe; + int m_fd; public: + CClient_AcessIPCPipe(IIPCChannel& channel, int fd); + ~CClient_AcessIPCPipe(); + + void SendMessage(CSerialiser& message); + + void HandleReceive(); }; class CIPCChannel_AcessIPCPipe: public IIPCChannel { - int m_mainFD; + int m_fd; ::std::list m_clients; public: CIPCChannel_AcessIPCPipe(const ::std::string& suffix);