Interface for message transport technologies. 更多...
#include <IMessageTransport.h>
Public 成员函数 | |
| virtual FName | GetDebugName () const =0 |
| Gets the name of this transport (for debugging purposes). 更多... | |
| virtual bool | StartTransport (IMessageTransportHandler &Handler)=0 |
| Starts up the message transport. 更多... | |
| virtual void | StopTransport ()=0 |
| Shuts down the message transport. 更多... | |
| virtual bool | TransportMessage (const TSharedRef< IMessageContext, ESPMode::ThreadSafe > &Context, const TArray< FGuid > &Recipients)=0 |
| Transports the given message data to the specified network nodes. 更多... | |
Protected 成员函数 | |
| virtual | ~IMessageTransport () |
| Virtual destructor. | |
Interface for message transport technologies.
Licensees can implement this interface to add support for custom message transport technologies that are not supported out of the box, i.e. custom network protocols or APIs.
|
pure virtual |
Gets the name of this transport (for debugging purposes).
|
pure virtual |
Starts up the message transport.
| Handler | The handler of inbound transport messages and events. |
|
pure virtual |
Shuts down the message transport.
|
pure virtual |
Transports the given message data to the specified network nodes.
| Context | The context of the message to transport. |
| Recipients | The transport nodes to send the message to. |