Interface for RPC calls. 更多...
#include <IMessageRpcCall.h>
Public 成员函数 | |
| virtual void | Complete (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &ResponseContext)=0 |
| Complete the request and set its result, if available. 更多... | |
| virtual void * | ConstructMessage () const =0 |
| Constructs a new message based on the call message template. 更多... | |
| virtual const FGuid & | GetId () const =0 |
| Get the call's unique identifier. 更多... | |
| virtual FDateTime | GetLastUpdated () const =0 |
| Get the time at which the request was last updated by the server. 更多... | |
| virtual void * | GetMessageTemplate () const =0 |
| Get the request message template. 更多... | |
| virtual UScriptStruct * | GetMessageType () const =0 |
| Get the type of the request message. 更多... | |
| virtual FDateTime | GetTimeCreated () const =0 |
| Gets the time at which the request was created. 更多... | |
| virtual void | TimeOut ()=0 |
| Time out the request. 更多... | |
| virtual void | UpdateProgress (float InCompletion, const FText &InStatusText)=0 |
| Update the current progress. 更多... | |
| virtual | ~IMessageRpcCall () |
| Virtual destructor. | |
Interface for RPC calls.
Every time an RPC call is made, a request message containing the call parameters is sent to the remote endpoint. While the remote endpoint is executing the call, it may send back progress updates in regular intervals. Once the call is complete, the remote endpoint sends a response message containing the result.
|
pure virtual |
Complete the request and set its result, if available.
| ResponseContext | The context of the response message. |
|
pure virtual |
Constructs a new message based on the call message template.
Ownership of the message belongs to the caller.
|
pure virtual |
Get the call's unique identifier.
|
pure virtual |
Get the time at which the request was last updated by the server.
|
pure virtual |
Get the request message template.
|
pure virtual |
Get the type of the request message.
|
pure virtual |
Gets the time at which the request was created.
|
pure virtual |
Time out the request.
|
pure virtual |
Update the current progress.
| InCompletion | The new completion percentage. |
| InStatusText | The new status text. |