1-Wire API for .NET Version 4.00
|
Interface for holding all constants related to Network Adapter communications. More...
Inherited by NetAdapter, NetAdapterHost, and NetAdapterSim.
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. |
Interface for holding all constants related to Network Adapter communications.
This interface is used by both NetAdapterHost and the NetAdapter. In addition, the common utility class Connection
is defined here.
final Connection EMPTY_CONNECTION = new Connection() [static] |
instance for an empty connection, basically it's a NULL object that's safe to synchronize on.