git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Usermode/AxWin4 - Mouse input in progress
[tpg/acess2.git]
/
Usermode
/
Applications
/
axwin4_src
/
Server
/
include
/
CIPCChannel_AcessIPCPipe.hpp
diff --git
a/Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp
b/Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp
index
1e24b0e
..
4a717d4
100644
(file)
--- a/
Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp
+++ b/
Usermode/Applications/axwin4_src/Server/include/CIPCChannel_AcessIPCPipe.hpp
@@
-9,20
+9,31
@@
#define _CIPCCHANNEL_ACESSIPCPIPE_HPP_
#include <IIPCChannel.hpp>
#define _CIPCCHANNEL_ACESSIPCPIPE_HPP_
#include <IIPCChannel.hpp>
+#include <CClient.hpp>
#include <string>
#include <list>
namespace AxWin {
#include <string>
#include <list>
namespace AxWin {
-class CClient_AcessIPCPipe
+class CClient_AcessIPCPipe:
+ public CClient
{
{
+ friend class CIPCChannel_AcessIPCPipe;
+ int m_fd;
+ ::std::vector<uint8_t> m_rxbuf;
public:
public:
+ CClient_AcessIPCPipe(IIPCChannel& channel, int fd);
+ ~CClient_AcessIPCPipe();
+
+ void SendMessage(CSerialiser& message);
+
+ void HandleReceive();
};
class CIPCChannel_AcessIPCPipe:
public IIPCChannel
{
};
class CIPCChannel_AcessIPCPipe:
public IIPCChannel
{
- int m_
mainFD
;
+ int m_
fd
;
::std::list<CClient_AcessIPCPipe> m_clients;
public:
CIPCChannel_AcessIPCPipe(const ::std::string& suffix);
::std::list<CClient_AcessIPCPipe> m_clients;
public:
CIPCChannel_AcessIPCPipe(const ::std::string& suffix);
UCC
git Repository :: git.ucc.asn.au