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.
|
pure virtual |
Adds a message address to the recipient list.
| Recipient | The address of the recipient to add. |
|
pure virtual |
Sets the optional message attachment.
| InAttachment | The attachment to set. |
|
pure virtual |
Sets the date and time at which the message expires.
| InExpiration | Expiration date and time. |
|
pure virtual |
Sets the value of the header with the specified key.
| Key | The header key. |
| Value | The header value. |
|
pure virtual |
Sets the message.
| InMessage | The message to set. |
| InTypeInfo | The message's type information. |
|
pure virtual |
Sets the message scope.
| InScope | The message scope. |
|
pure virtual |
Sets the address of the message's sender.
| InSender | The message sender's address. |
|
pure virtual |
Sets the date and time at which the message was sent.
| InTimeSent | Send date and time. |