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