engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FSimpleAbstractSocket_FMultichannelTCPSocket类 参考

Multichannel socket version of FSimpleAbstractSocket 更多...

#include <NetworkMessage.h>

+ 类 FSimpleAbstractSocket_FMultichannelTCPSocket 继承关系图:

Public 成员函数

 FSimpleAbstractSocket_FMultichannelTCPSocket (class FMultichannelTcpSocket *InSocket, uint32 InSendChannel, uint32 InReceiveChannel=0)
 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 更多...
 

详细描述

Multichannel socket version of FSimpleAbstractSocket

构造及析构函数说明

◆ FSimpleAbstractSocket_FMultichannelTCPSocket()

FSimpleAbstractSocket_FMultichannelTCPSocket::FSimpleAbstractSocket_FMultichannelTCPSocket ( class FMultichannelTcpSocket *  InSocket,
uint32  InSendChannel,
uint32  InReceiveChannel = 0 
)
inline

Constructor

参数
InSocketMultichannel socket to forward requests to
InSendChannelChannel to send to
InReceiveChannelChannel to receive from, defaults to the sending channel

成员函数说明

◆ Receive()

virtual bool FSimpleAbstractSocket_FMultichannelTCPSocket::Receive ( uint8 *  Results,
int32  Size 
) const
virtual

Block until we receive data from the socket

参数
ResultsBuffer of at least Size size, used to hold the results
SizeNumber of bytes to read
返回
true if read is successful

实现了 FSimpleAbstractSocket.

◆ Send()

virtual bool FSimpleAbstractSocket_FMultichannelTCPSocket::Send ( const uint8 *  Buffer,
int32  Size 
) const
virtual

Send bytes out the socket

参数
BufferBuffer containing bytes to send
SizeNumber of bytes to send
返回
true if read is successful

实现了 FSimpleAbstractSocket.


该类的文档由以下文件生成: