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

Interface for mutable message contexts. 更多...

#include <IMutableMessageContext.h>

+ 类 IMutableMessageContext 继承关系图:

Public 成员函数

virtual void AddRecipient (const FMessageAddress &Recipient)=0
 Adds a message address to the recipient list. 更多...
 
virtual void SetAttachment (const TSharedPtr< IMessageAttachment, ESPMode::ThreadSafe > &InAttachment)=0
 Sets the optional message attachment. 更多...
 
virtual void SetExpiration (const FDateTime &InExpiration)=0
 Sets the date and time at which the message expires. 更多...
 
virtual void SetHeader (const FName &Key, const FString &Value)=0
 Sets the value of the header with the specified key. 更多...
 
virtual void SetMessage (void *InMessage, UScriptStruct *InTypeInfo)=0
 Sets the message. 更多...
 
virtual void SetScope (EMessageScope InScope)=0
 Sets the message scope. 更多...
 
virtual void SetSender (const FMessageAddress &InSender)=0
 Sets the address of the message's sender. 更多...
 
virtual void SetTimeSent (const FDateTime &InTimeSent)=0
 Sets the date and time at which the message was sent. 更多...
 
virtual ~IMutableMessageContext ()
 Virtual destructor.
 
- Public 成员函数 继承自 IMessageContext
virtual const TMap< FName, FString > & GetAnnotations () const =0
 Gets the optional message annotations. 更多...
 
virtual TSharedPtr< IMessageAttachment, ESPMode::ThreadSafe > GetAttachment () const =0
 Gets the message attachment, if present. 更多...
 
virtual const FDateTime & GetExpiration () const =0
 Gets the date and time at which the message expires. 更多...
 
virtual EMessageFlags GetFlags () const =0
 Gets the scope to which the message was sent. 更多...
 
virtual const FMessageAddress & GetForwarder () const =0
 Gets the forwarder's address. 更多...
 
virtual const void * GetMessage () const =0
 Gets the message data. 更多...
 
FName GetMessageType () const
 Gets the name of the message type. 更多...
 
virtual const TWeakObjectPtr< UScriptStruct > & GetMessageTypeInfo () const =0
 Gets the message's type information. 更多...
 
virtual TSharedPtr< IMessageContext, ESPMode::ThreadSafe > GetOriginalContext () const =0
 Returns the original message context in case the message was forwarded. 更多...
 
virtual const TArray< FMessageAddress > & GetRecipients () const =0
 Gets the list of message recipients. 更多...
 
virtual EMessageScope GetScope () const =0
 Gets the scope to which the message was sent. 更多...
 
virtual const FMessageAddress & GetSender () const =0
 Gets the sender's address. 更多...
 
virtual ENamedThreads::Type GetSenderThread () const =0
 Gets the name of the thread from which the message was sent. 更多...
 
virtual const FDateTime & GetTimeForwarded () const =0
 Gets the time at which the message was forwarded. 更多...
 
virtual const FDateTime & GetTimeSent () const =0
 Gets the time at which the message was sent. 更多...
 
bool IsForwarded () const
 Checks whether this is a forwarded message. 更多...
 
bool IsValid () const
 Checks whether this context is valid. 更多...
 
virtual ~IMessageContext ()
 Virtual destructor.
 

详细描述

Interface for mutable message contexts.

成员函数说明

◆ AddRecipient()

virtual void IMutableMessageContext::AddRecipient ( const FMessageAddress &  Recipient)
pure virtual

Adds a message address to the recipient list.

参数
RecipientThe address of the recipient to add.

◆ SetAttachment()

virtual void IMutableMessageContext::SetAttachment ( const TSharedPtr< IMessageAttachment, ESPMode::ThreadSafe > &  InAttachment)
pure virtual

Sets the optional message attachment.

参数
InAttachmentThe attachment to set.

◆ SetExpiration()

virtual void IMutableMessageContext::SetExpiration ( const FDateTime &  InExpiration)
pure virtual

Sets the date and time at which the message expires.

参数
InExpirationExpiration date and time.

◆ SetHeader()

virtual void IMutableMessageContext::SetHeader ( const FName &  Key,
const FString &  Value 
)
pure virtual

Sets the value of the header with the specified key.

参数
KeyThe header key.
ValueThe header value.

◆ SetMessage()

virtual void IMutableMessageContext::SetMessage ( void *  InMessage,
UScriptStruct *  InTypeInfo 
)
pure virtual

Sets the message.

参数
InMessageThe message to set.
InTypeInfoThe message's type information.

◆ SetScope()

virtual void IMutableMessageContext::SetScope ( EMessageScope  InScope)
pure virtual

Sets the message scope.

参数
InScopeThe message scope.

◆ SetSender()

virtual void IMutableMessageContext::SetSender ( const FMessageAddress &  InSender)
pure virtual

Sets the address of the message's sender.

参数
InSenderThe message sender's address.

◆ SetTimeSent()

virtual void IMutableMessageContext::SetTimeSent ( const FDateTime &  InTimeSent)
pure virtual

Sets the date and time at which the message was sent.

参数
InTimeSentSend date and time.

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