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

Interface for RPC clients. 更多...

#include <IMessageRpcClient.h>

Public 成员函数

template<typename RpcType , typename... P>
TAsyncResult< typename RpcType::FResult > Call (P... Params)
 Call a remote procedure. 更多...
 
virtual void Connect (const FMessageAddress &InServerAddress)=0
 Connect this client to an RPC server. 更多...
 
virtual void Disconnect ()=0
 Disconnect this client from the RPC server. 更多...
 
virtual bool IsConnected () const =0
 Whether the MessageRpcClient is currently connected to an RPC server. 更多...
 
virtual ~IMessageRpcClient ()
 Virtual destructor.
 

Protected 成员函数

virtual void AddCall (const TSharedRef< IMessageRpcCall > &Call)=0
 Add an RPC request. 更多...
 
virtual void CancelCall (const FGuid &CallId)=0
 Cancel the specified RPC call. 更多...
 

详细描述

Interface for RPC clients.

成员函数说明

◆ AddCall()

virtual void IMessageRpcClient::AddCall ( const TSharedRef< IMessageRpcCall > &  Call)
protectedpure virtual

Add an RPC request.

参数
RequestThe call to add.

◆ Call()

template<typename RpcType , typename... P>
TAsyncResult< typename RpcType::FResult > IMessageRpcClient::Call ( P...  Params)
inline

Call a remote procedure.

参数
RpcTypeThe RPC type definition.
PThe call parameter types.
ParamsThe call parameter list.

◆ CancelCall()

virtual void IMessageRpcClient::CancelCall ( const FGuid &  CallId)
protectedpure virtual

Cancel the specified RPC call.

参数
CallIdThe unique identifier of the call to cancel.

◆ Connect()

virtual void IMessageRpcClient::Connect ( const FMessageAddress &  InServerAddress)
pure virtual

Connect this client to an RPC server.

参数
InServerAddressThe RPC server's message address.
参见
Disconnect

◆ Disconnect()

virtual void IMessageRpcClient::Disconnect ( )
pure virtual

Disconnect this client from the RPC server.

参见
Connect

◆ IsConnected()

virtual bool IMessageRpcClient::IsConnected ( ) const
pure virtual

Whether the MessageRpcClient is currently connected to an RPC server.

返回
true if the client is connected, false otherwise.

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