Navigation
API > API/Plugins > API/Plugins/UdpMessaging
References
| Module | UdpMessaging |
| Header | /Engine/Plugins/Messaging/UdpMessaging/Source/UdpMessaging/Public/IUdpMessageTunnel.h |
| Include | #include "IUdpMessageTunnel.h" |
Syntax
class IUdpMessageTunnel
Remarks
Interface for message tunnels.
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Virtual destructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Connect
(
const FIPv4Endpoint& RemoteEndpoint |
Establishes a tunnel with a remote server. | |
| int32 | GetConnections
(
TArray< TSharedPtr< IUdpMessageTunnelConnection >>& OutConnections |
Gets the list of all open tunnel connections. | |
| uint64 | Gets the total number of bytes that were received from tunnels. | ||
| uint64 | Gets the total number of bytes that were sent out through tunnels. | ||
| bool | Checks whether the tunnel server is running. | ||
| FSimpleDelegate & | Gets a delegate that is executed when the list of incoming connections changed. | ||
| void | StartServer
(
const FIPv4Endpoint& LocalEndpoint |
Starts the tunnel server. | |
| void | StopServer () |
Stops the tunnel server. |