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

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.

成员函数说明

◆ Complete()

virtual void IMessageRpcCall::Complete ( const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &  ResponseContext)
pure virtual

Complete the request and set its result, if available.

参数
ResponseContextThe context of the response message.
参见
TimeOut

◆ ConstructMessage()

virtual void * IMessageRpcCall::ConstructMessage ( ) const
pure virtual

Constructs a new message based on the call message template.

Ownership of the message belongs to the caller.

返回
Pointer to the request message.

◆ GetId()

virtual const FGuid & IMessageRpcCall::GetId ( ) const
pure virtual

Get the call's unique identifier.

返回
Call identifier.

◆ GetLastUpdated()

virtual FDateTime IMessageRpcCall::GetLastUpdated ( ) const
pure virtual

Get the time at which the request was last updated by the server.

返回
Update time.

◆ GetMessageTemplate()

virtual void * IMessageRpcCall::GetMessageTemplate ( ) const
pure virtual

Get the request message template.

返回
Pointer to the request message template.

◆ GetMessageType()

virtual UScriptStruct * IMessageRpcCall::GetMessageType ( ) const
pure virtual

Get the type of the request message.

返回
Request message type.

◆ GetTimeCreated()

virtual FDateTime IMessageRpcCall::GetTimeCreated ( ) const
pure virtual

Gets the time at which the request was created.

返回
Creation time.

◆ TimeOut()

virtual void IMessageRpcCall::TimeOut ( )
pure virtual

Time out the request.

参见
Complete

◆ UpdateProgress()

virtual void IMessageRpcCall::UpdateProgress ( float  InCompletion,
const FText &  InStatusText 
)
pure virtual

Update the current progress.

参数
InCompletionThe new completion percentage.
InStatusTextThe new status text.

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