public class SRelay
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
ADDRESS_SCHEMES
Relay address scheme.
|
static java.lang.String |
DEFAULT_ADDRESS
Default relay address(es) used by the platform for finding available servers.
|
static int[] |
DEFAULT_PORTS
The default ports corresponding to the address schemes (http=80, https=443).
|
static byte |
MSGTYPE_AWAINFO
The awareness info message type (awareness info content).
|
static byte |
MSGTYPE_DEFAULT
The default message type (followed by arbitrary message content from some sender).
|
static byte |
MSGTYPE_PING
The ping message type (just the type byte and no content).
|
static long |
PING_DELAY
The delay (ms) between server pings (for checking if receiving connection is still active).
|
Constructor and Description |
---|
SRelay() |
public static final java.lang.String[] ADDRESS_SCHEMES
public static final int[] DEFAULT_PORTS
public static final java.lang.String DEFAULT_ADDRESS
public static final byte MSGTYPE_DEFAULT
public static final byte MSGTYPE_PING
public static final byte MSGTYPE_AWAINFO
public static final long PING_DELAY