|
My Project
|
Public Member Functions | |
| CcNetMsgHandler () | |
| virtual | ~CcNetMsgHandler () |
| void | attachReadStream (int fd) |
| void | attachSendStream (int fd) |
| gcp::util::NetSendStr::NetSendId | send () |
| gcp::util::NetSendStr::NetSendId | send (gcp::util::CcNetMsg *msg) |
| gcp::util::NetSendStr::NetSendId | send (int fd) |
| gcp::util::NetSendStr::NetSendId | send (int fd, gcp::util::CcNetMsg *msg) |
| gcp::util::NetReadStr::NetReadId | read () |
| gcp::util::NetReadStr::NetReadId | read (int fd) |
| void | packCcNetMsg (gcp::util::CcNetMsg *msg) |
| gcp::util::CcNetMsg * | getCcNetMsg () |
| CcNetMsgHandler::CcNetMsgHandler | ( | ) |
Constructor.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
| void CcNetMsgHandler::attachReadStream | ( | int | fd | ) |
Attach the network I/O stream to a socket.
....................................................................... Attach the network read stream to a socket.
| void CcNetMsgHandler::attachSendStream | ( | int | fd | ) |
Attach the network I/O stream to a socket.
....................................................................... Attach the network send stream to a socket.
| gcp::util::CcNetMsg * CcNetMsgHandler::getCcNetMsg | ( | ) |
Return the last message read.
....................................................................... Return the last message read
| void CcNetMsgHandler::packCcNetMsg | ( | gcp::util::CcNetMsg * | msg | ) |
Pack a network message.
....................................................................... Pack a network message into our send buffer.
| NetReadStr::NetReadId CcNetMsgHandler::read | ( | ) |
Read a message into our network buffer from a socket described by a previously attached fd.
....................................................................... Read a message packed into our network buffer from a socket described by a previously attached fd.
| NetReadStr::NetReadId CcNetMsgHandler::read | ( | int | fd | ) |
Read a message into our network buffer from the specified socket.
....................................................................... Read a message packed into our network buffer from the specified socket.
| NetSendStr::NetSendId CcNetMsgHandler::send | ( | ) |
Send a message packed into our network buffer to a socket described by a previously attached fd.
....................................................................... Send a message previously packed into our network buffer to a socket described by a previously attached fd.
| NetSendStr::NetSendId CcNetMsgHandler::send | ( | gcp::util::CcNetMsg * | msg | ) |
Send a message to a socket described by a previously attached fd.
....................................................................... Send a message to a socket described by a previously attached fd.
| NetSendStr::NetSendId CcNetMsgHandler::send | ( | int | fd | ) |
Send a message packed into our network buffer to the specified socket.
....................................................................... Send a message packed into our network buffer to the specified socket.
| NetSendStr::NetSendId CcNetMsgHandler::send | ( | int | fd, |
| gcp::util::CcNetMsg * | msg | ||
| ) |
Send a message to a socket
....................................................................... Send a message to a socket