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.
|
protectedpure virtual |
Add an RPC request.
| Request | The call to add. |
|
inline |
Call a remote procedure.
| RpcType | The RPC type definition. |
| P | The call parameter types. |
| Params | The call parameter list. |
|
protectedpure virtual |
Cancel the specified RPC call.
| CallId | The unique identifier of the call to cancel. |
|
pure virtual |
Connect this client to an RPC server.
| InServerAddress | The RPC server's message address. |
|
pure virtual |
Disconnect this client from the RPC server.
|
pure virtual |
Whether the MessageRpcClient is currently connected to an RPC server.