Simulacrum
1.2
|
#include <snet.h>
Public Member Functions | |
SNetMessage () | |
virtual | ~SNetMessage () |
SNetIDWidth_t | getSessionID () |
SNetIDWidth_t | getItemID () |
SNetIDWidth_t | getCommand () |
SNetIDWidth_t | getDataType () |
SNetDataWidth_t | getDataLength () |
char * | getData () |
void | setSessionID (SNetIDWidth_t) |
void | setItemID (SNetIDWidth_t) |
void | setCommand (SNetIDWidth_t) |
void | setDataType (SNetIDWidth_t) |
void | setData (SNetDataWidth_t size, char *data, bool copy=true) |
std::string | toString () |
void | copy (SNetMessage &, bool deep=true) |
void | write (ssocket_t &target) |
void | read (ssocket_t &source) |
SNetMessage::SNetMessage | ( | ) |
|
virtual |
void SNetMessage::copy | ( | SNetMessage & | copyme, |
bool | deep = true |
||
) |
SNetIDWidth_t SNetMessage::getCommand | ( | ) |
char * SNetMessage::getData | ( | ) |
SNetDataWidth_t SNetMessage::getDataLength | ( | ) |
SNetIDWidth_t SNetMessage::getDataType | ( | ) |
SNetIDWidth_t SNetMessage::getItemID | ( | ) |
SNetIDWidth_t SNetMessage::getSessionID | ( | ) |
void SNetMessage::read | ( | ssocket_t & | source | ) |
void SNetMessage::setCommand | ( | SNetIDWidth_t | newcom | ) |
void SNetMessage::setData | ( | SNetDataWidth_t | size, |
char * | data, | ||
bool | copy = true |
||
) |
void SNetMessage::setDataType | ( | SNetIDWidth_t | newtype | ) |
void SNetMessage::setItemID | ( | SNetIDWidth_t | newid | ) |
void SNetMessage::setSessionID | ( | SNetIDWidth_t | newsession | ) |
std::string SNetMessage::toString | ( | ) |
void SNetMessage::write | ( | ssocket_t & | target | ) |