This interface is used by both NetAdapterHost and the NetAdapter. In addition, the common utility class Connection
is defined here.
Static Public Attributes | |
static int | versionUID = 1 |
version UID, used to detect incompatible host | |
static final boolean | BUFFERED_OUTPUT = true |
Indicates whether or not to buffer the output (probably always true!). | |
static final int | DEFAULT_PORT = 6161 |
Default port for NetAdapter TCP/IP connection. | |
static final String | DEFAULT_SECRET = "Adapter Secret Default" |
default secret for authentication with the server | |
static final String | DEFAULT_MULTICAST_GROUP = "228.5.6.7" |
Address for Multicast group for NetAdapter Datagram packets. | |
static final int | DEFAULT_MULTICAST_PORT = 6163 |
Default port for NetAdapter Datagram packets. | |
static final Connection | EMPTY_CONNECTION = new Connection() |
instance for an empty connection, basically it's a NULL object that's safe to synchronize on. | |
Static Package Attributes | |
static final boolean | DEBUG = false |
Debug message flag. |
final Connection EMPTY_CONNECTION = new Connection() [static] |
instance for an empty connection, basically it's a NULL object that's safe to synchronize on.