![]() |
Master Core
v0.0.9 - 49a5c0d97abf09ef2911ddfe8d9551df59f9efd3-dirty
|
#include <net.h>
Public Member Functions | |
CNetMessage (int nTypeIn, int nVersionIn) | |
bool | complete () const |
void | SetVersion (int nVersionIn) |
int | readHeader (const char *pch, unsigned int nBytes) |
int | readData (const char *pch, unsigned int nBytes) |
Data Fields | |
bool | in_data |
CDataStream | hdrbuf |
CMessageHeader | hdr |
unsigned int | nHdrPos |
CDataStream | vRecv |
unsigned int | nDataPos |
Definition at line 164 of file net.h.
References CDataStream::resize().
|
inline |
Definition at line 171 of file net.h.
References CMessageHeader::nMessageSize.
Referenced by ProcessMessages().
Definition at line 673 of file net.cpp.
References memcpy().
Referenced by CNode::ReceiveMsgBytes().
Definition at line 641 of file net.cpp.
References MAX_SIZE, and memcpy().
Referenced by CNode::ReceiveMsgBytes().
|
inline |
Definition at line 178 of file net.h.
References CDataStream::SetVersion().
Referenced by CNode::SetRecvVersion().
CMessageHeader CNetMessage::hdr |
Definition at line 158 of file net.h.
Referenced by ProcessMessages().
CDataStream CNetMessage::hdrbuf |
bool CNetMessage::in_data |
Definition at line 155 of file net.h.
Referenced by CNode::ReceiveMsgBytes().
CDataStream CNetMessage::vRecv |
Definition at line 161 of file net.h.
Referenced by CNode::GetTotalRecvSize(), and ProcessMessages().