IUdpMessageTunnel

Interface for message tunnels.

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public function Virtual

~IUdpMessageTunnel()

Virtual destructor.

Functions

Name Description

Public function

bool

 

Connect

(
    const FIPv4Endpoint& RemoteEndpoin...
)

Establishes a tunnel with a remote server.

Public function

int32

 

GetConnections

Gets the list of all open tunnel connections.

Public function Const

uint64

 

GetTotalInboundBytes()

Gets the total number of bytes that were received from tunnels.

Public function Const

uint64

 

GetTotalOutboundBytes()

Gets the total number of bytes that were sent out through tunnels.

Public function Const

bool

 

IsServerRunning()

Checks whether the tunnel server is running.

Public function

FSimpleDeleg...

 

OnConnectionsChanged()

Gets a delegate that is executed when the list of incoming connections changed.

Public function

void

 

StartServer

(
    const FIPv4Endpoint& LocalEndpoint
)

Starts the tunnel server.

Public function

void

 

StopServer()

Stops the tunnel server.