Navigation
API > API/Runtime > API/Runtime/Messaging
Interface for message transport event handlers.
This interface is typically implemented by message bridges and other classes that manage a message transport and wish to receive messages from it. This interface also notifies implementors of discovered and lost transport nodes.
A transport node is the internal representation of a remote message endpoint that may exist in a different process or on a different computer. The actual implementation of these nodes depends on the transport layer. It may be a network socket connection, a named pipe, or some other communication technology.
Each transport node gets a globally unique identifier that can be used by a message bridge to translate local message addresses to remote message endpoints. When a message endpoint on the message bus sends a message to a specific message address that represents a remote endpoint, the message bridge maps the address to a transport identifier, which is then mapped again to the corresponding connection in the transport layer.
| Name | IMessageTransportHandler |
| Type | class |
| Header File | /Engine/Source/Runtime/Messaging/Public/IMessageTransportHandler.h |
| Include Path | #include "IMessageTransportHandler.h" |
Syntax
class IMessageTransportHandler
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMessageTransportHandler() |
Virtual destructor. | IMessageTransportHandler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DiscoverTransportNode
(
const FGuid& NodeId |
Called by message transports when a transport node has been discovered. | IMessageTransportHandler.h | |
void ForgetTransportNode
(
const FGuid& NodeId |
Called by message transports when a transport node has been lost. | IMessageTransportHandler.h | |
void ReceiveTransportMessage
(
const TSharedRef< IMessageContext, ESPMode::ThreadSafe >& Context, |
Called by message transports when a message was received. | IMessageTransportHandler.h |