ecologylab.services.distributed.common
Interface NetworkingConstants

All Known Subinterfaces:
ClientConstants, ServerConstants
All Known Implementing Classes:
AbstractClientManager, AuthClientManager, ClientManager, DoubleThreadedAuthNIOServer, DoubleThreadedNIOServer, HTTPClientManager, HTTPGetClientManager, HttpGetServer, HTTPGetServerToClientConnection, HTTPPostClientManager, HTTPPostServer, HTTPPostServerToClientConnection, KMLGetClientManager, KmlServer, LoggingClientManager, NIOAuthClient, NIOClient, NIOCore, NIOLoggingServer, NIONetworking, NIOServerBackend, ServerToClientConnection, ServicesClient, ServicesClientBase

public interface NetworkingConstants

Author:
Zachary O. Toups (toupsz@cs.tamu.edu)

Field Summary
static java.lang.String CHARACTER_ENCODING
          Character encoding for messages sent through the network.
static java.lang.String CONTENT_LENGTH_STRING
          The content-length http-like header indicator.
static int CONTENT_LENGTH_STRING_LENGTH
          The size of the content-length header indicator.
static java.nio.charset.CharsetDecoder DECODER
          The decoder to translate from bytes to Strings.
static java.nio.charset.CharsetEncoder ENCODER
          The encoder to translate from Strings to bytes.
static java.lang.String HTTP_HEADER_LINE_DELIMITER
           
static java.lang.String HTTP_HEADER_TERMINATOR
          The terminator string for the end of http-like headers.
static int MAX_HTTP_HEADER_LENGTH
          The maximum size an http-like header on a message may be, in bytes.
static int MAX_PACKET_SIZE_BYTES
          the maximum size of message acceptable by server in encoded BYTEs
static int MAX_PACKET_SIZE_CHARACTERS
          the maximum size of message acceptable by server in encoded CHARs
static java.lang.String UNIQUE_IDENTIFIER_STRING
           
 

Field Detail

MAX_PACKET_SIZE_CHARACTERS

static final int MAX_PACKET_SIZE_CHARACTERS
the maximum size of message acceptable by server in encoded CHARs

See Also:
Constant Field Values

MAX_HTTP_HEADER_LENGTH

static final int MAX_HTTP_HEADER_LENGTH
The maximum size an http-like header on a message may be, in bytes.

See Also:
Constant Field Values

CONTENT_LENGTH_STRING

static final java.lang.String CONTENT_LENGTH_STRING
The content-length http-like header indicator.

See Also:
Constant Field Values

UNIQUE_IDENTIFIER_STRING

static final java.lang.String UNIQUE_IDENTIFIER_STRING
See Also:
Constant Field Values

HTTP_HEADER_LINE_DELIMITER

static final java.lang.String HTTP_HEADER_LINE_DELIMITER
See Also:
Constant Field Values

HTTP_HEADER_TERMINATOR

static final java.lang.String HTTP_HEADER_TERMINATOR
The terminator string for the end of http-like headers.

See Also:
Constant Field Values

CONTENT_LENGTH_STRING_LENGTH

static final int CONTENT_LENGTH_STRING_LENGTH
The size of the content-length header indicator.


CHARACTER_ENCODING

static final java.lang.String CHARACTER_ENCODING
Character encoding for messages sent through the network.

See Also:
Constant Field Values

ENCODER

static final java.nio.charset.CharsetEncoder ENCODER
The encoder to translate from Strings to bytes.


DECODER

static final java.nio.charset.CharsetDecoder DECODER
The decoder to translate from bytes to Strings.


MAX_PACKET_SIZE_BYTES

static final int MAX_PACKET_SIZE_BYTES
the maximum size of message acceptable by server in encoded BYTEs