Navigation
API > API/Runtime > API/Runtime/Messaging
Interface for message bus listener.
Classes that implement this interface are able to receive notifications from a message bus. A bus listener will receive a call to its appropriate IBusListener.Notify* method for dispatched notifications it is listening to.
This interface provides a rather low-level mechanism for listening to notification. Instead of implementing it, Most users will want to use an instance of see FMessageEndpoint, which provides a much more convenient way of listening to bus notifications.
| Name | IBusListener |
| Type | class |
| Header File | /Engine/Source/Runtime/Messaging/Public/IMessageBusListener.h |
| Include Path | #include "IMessageBusListener.h" |
Syntax
class IBusListener
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IBusListener() |
IMessageBusListener.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the name of the thread on which to receive notifications. | IMessageBusListener.h | ||
void NotifyRegistration
(
const FMessageAddress& Address, |
Notify a registration event from the bus This is called when a receiver is registered or unregistered from the bus. | IMessageBusListener.h |
See Also
-
FMessageEndpoint