Stores the persistent state and packet buffers/data, for receiving packets with FSocket::RecvMulti. 更多...
#include <SocketTypes.h>
类 FRecvMulti 继承关系图:Public 成员函数 | |
| virtual void | CountBytes (FArchive &Ar) const |
| Calculates the total memory consumption of this FRecvMulti instance, including platform-specific data 更多... | |
| int32 | GetNumPackets () const |
| Retrieves the current number of received packets | |
| void | GetPacket (int32 PacketIdx, FReceivedPacketView &OutPacket) |
| Retrieves the information for the specified packet 更多... | |
| virtual bool | GetPacketTimestamp (int32 PacketIdx, FPacketTimestamp &OutTimestamp) const =0 |
| Returns the platform specific timestamp for when the specified packet was received by the operating system 更多... | |
Public 属性 | |
| const int32 | MaxNumPackets |
| The maximum number of packets this FRecvMulti instance can support | |
| const int32 | MaxPacketSize |
| The maximum packet size this FRecvMulti instance can support | |
Stores the persistent state and packet buffers/data, for receiving packets with FSocket::RecvMulti.
To optimize performance, use only once instance of this struct, for the lifetime of the socket.
|
virtual |
Calculates the total memory consumption of this FRecvMulti instance, including platform-specific data
| Ar | The archive being used to count the memory consumption |
|
inline |
Retrieves the information for the specified packet
| PacketIdx | The RecvMulti index for the packet to be retrieved |
| OutPacket | Outputs a view to the received packet |
|
pure virtual |
Returns the platform specific timestamp for when the specified packet was received by the operating system
| PacketIdx | The index into Packets, of the packet to be checked |
| OutTimestamp | The timestamp for the specified packet |