Enfusion Script API
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
RplSession Interface Reference

Static Public Member Functions

static proto owned string TryGetListenAddress ()
 Try to obtain IP address to listen at when running in RplMode::Listen mode (as server).
 
static proto void RegisterCallbacks (RplSessionCallbacks callbacks)
 Registers callbacks for current session.
 
static proto RplMode Mode ()
 Current mode of the replication.
 

Member Function Documentation

◆ Mode()

static proto RplMode RplSession.Mode ( )
static

Current mode of the replication.

◆ RegisterCallbacks()

static proto void RplSession.RegisterCallbacks ( RplSessionCallbacks  callbacks)
static

Registers callbacks for current session.

◆ TryGetListenAddress()

static proto owned string RplSession.TryGetListenAddress ( )
static

Try to obtain IP address to listen at when running in RplMode::Listen mode (as server).

Returns
IP as string on success or empty string when IP address could not be determined.

The documentation for this interface was generated from the following file: