Module |
|
Header |
/Engine/Source/Runtime/Messaging/Public/IMessageSubscription.h |
Include |
#include "IMessageSubscription.h" |
class IMessageSubscription
Interface for message subscriptions.
This interface provides access to a message subscription that was previously created with the IMessageBus.Subscribe method. It can be used to query the subscription's details using the various getters and modify its enabled state using the IMessageSubscription.Enable and IMessageSubscription.Disable methods.
A subscription that is disabled will cause a message endpoint to stop receiving messages for the subscribed message type. However, the subscription is merely disabled and not removed.
Name | Description | |
---|---|---|
|
~IMessageSubscription() |
Virtual destructor. |
Name | Description | ||
---|---|---|---|
|
Disable() |
Disables the subscription. |
|
|
Enable() |
Enables the subscription. |
|
|
GetMessageType() |
Gets the type of subscribed messages. |
|
|
const TRange... |
GetScopeRange() |
Gets the range of subscribed message scopes. |
|
const TWeakP... |
GetSubscriber() |
Gets the subscriber. |
|
IsEnabled() |
Checks whether the subscription is enabled. |