1 #ifndef SZA_UTIL_CCNETMSGHANDLER_H
2 #define SZA_UTIL_CCNETMSGHANDLER_H
20 class CcNetMsgHandler {
31 virtual ~CcNetMsgHandler();
36 void attachReadStream(
int fd);
41 void attachSendStream(
int fd);
47 sza::util::NetSendStr::NetSendId send();
53 sza::util::NetSendStr::NetSendId
54 send(sza::util::CcNetMsg* msg);
60 sza::util::NetSendStr::NetSendId send(
int fd);
65 sza::util::NetSendStr::NetSendId
66 send(
int fd, sza::util::CcNetMsg* msg);
72 sza::util::NetReadStr::NetReadId read();
78 sza::util::NetReadStr::NetReadId read(
int fd);
83 void packCcNetMsg(sza::util::CcNetMsg* msg);
88 sza::util::CcNetMsg* getCcNetMsg();
92 sza::util::CcNetMsg netMsg_;
93 sza::util::NetSendStr* nss_;
94 sza::util::NetReadStr* nrs_;
103 #endif // End #ifndef SZA_UTIL_CCNETMSGHANDLER_H
Started: Sun Feb 29 15:29:37 UTC 2004.
Started: Sun Feb 29 15:29:37 UTC 2004.
Tagged: Mon Mar 15 15:29:07 UTC 2004.