Ordinary socket version of FSimpleAbstractSocket
更多...
#include <NetworkMessage.h>
|
| | FSimpleAbstractSocket_FSocket (class FSocket *InSocket) |
| | Constructor 更多...
|
| |
|
virtual uint32 | GetMagic () const |
| | return the magic number for this message, also used for endian correction on the archives
|
| |
| virtual bool | Receive (uint8 *Results, int32 Size) const |
| | Block until we receive data from the socket 更多...
|
| |
| virtual bool | Send (const uint8 *Buffer, int32 Size) const |
| | Send bytes out the socket 更多...
|
| |
|
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 更多...
|
| |
Ordinary socket version of FSimpleAbstractSocket
◆ FSimpleAbstractSocket_FSocket()
| FSimpleAbstractSocket_FSocket::FSimpleAbstractSocket_FSocket |
( |
class FSocket * |
InSocket | ) |
|
|
inline |
Constructor
- 参数
-
| InSocket | Ordinary socket to forward requests to |
◆ Receive()
| virtual bool FSimpleAbstractSocket_FSocket::Receive |
( |
uint8 * |
Results, |
|
|
int32 |
Size |
|
) |
| const |
|
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 |
- 返回
- true if read is successful
实现了 FSimpleAbstractSocket.
◆ Send()
| virtual bool FSimpleAbstractSocket_FSocket::Send |
( |
const uint8 * |
Buffer, |
|
|
int32 |
Size |
|
) |
| const |
|
virtual |
Send bytes out the socket
- 参数
-
| Buffer | Buffer containing bytes to send |
| Size | Number of bytes to send |
- 返回
- true if read is successful
实现了 FSimpleAbstractSocket.
该类的文档由以下文件生成: