Navigation
API > API/Runtime > API/Runtime/Messaging
Interface for message bridges.
A message bridge connects a message bus with another messaging system. It is really just a regular message endpoint connected to a message bus that translates sent and received messages between the bus and some underlying transport technology. The transport technology is usually implemented in the form of a Message Transport Plug-in, such as the UdpMessaging plug-in that ships with Unreal Engine.
The most common use case for message bridges is to connect two Unreal Engine message buses running in separate processes or en different computers. Another common use case is to connect an Unreal Engine message bus to an entirely different messaging system that is not based on Unreal Engine.
Message bridge instances can be created with the IMessagingModule.CreateBridge method.
| Name | IMessageBridge |
| Type | class |
| Header File | /Engine/Source/Runtime/Messaging/Public/IMessageBridge.h |
| Include Path | #include "IMessageBridge.h" |
Syntax
class IMessageBridge
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMessageBridge() |
Virtual destructor. | IMessageBridge.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Disable () |
Disables this bridge. | IMessageBridge.h | |
void Enable () |
Enables this bridge. | IMessageBridge.h | |
bool IsEnabled () |
Checks whether the bridge is currently enabled. | IMessageBridge.h | |
FGuid LookupAddress
(
const FMessageAddress& InAddress |
Provides the endpoint guid for the given address. | IMessageBridge.h |