Simple abstraction for sockets that allows FNFSMessageHeader to use either an ordinary socket or a mutichannel socket 更多...
#include <NetworkMessage.h>
类 FSimpleAbstractSocket 继承关系图:Public 成员函数 | |
| virtual uint32 | GetMagic () const =0 |
| return the magic number for this message, also used for endian correction on the archives | |
| virtual bool | Receive (uint8 *Results, int32 Size) const =0 |
| Block until we receive data from the socket 更多... | |
| virtual bool | Send (const uint8 *Buffer, int32 Size) const =0 |
| Send bytes out the socket 更多... | |
Simple abstraction for sockets that allows FNFSMessageHeader to use either an ordinary socket or a mutichannel socket
|
pure virtual |
Block until we receive data from the socket
| Results | Buffer of at least Size size, used to hold the results |
| Size | Number of bytes to read |
在 FSimpleAbstractSocket_FSocket , 以及 FSimpleAbstractSocket_FMultichannelTCPSocket 内被实现.
|
pure virtual |
Send bytes out the socket
| Buffer | Buffer containing bytes to send |
| Size | Number of bytes to send |
在 FSimpleAbstractSocket_FSocket , 以及 FSimpleAbstractSocket_FMultichannelTCPSocket 内被实现.