ecologylab.services.distributed.common
Interface ServerConstants

All Superinterfaces:
NetworkingConstants
All Known Implementing Classes:
AbstractClientManager, AuthClientManager, ClientManager, DoubleThreadedAuthNIOServer, DoubleThreadedNIOServer, HTTPClientManager, HTTPGetClientManager, HttpGetServer, HTTPGetServerToClientConnection, HTTPPostClientManager, HTTPPostServer, HTTPPostServerToClientConnection, KMLGetClientManager, KmlServer, LoggingClientManager, NIOLoggingServer, NIOServerBackend, ServerToClientConnection, ServicesClient

public interface ServerConstants
extends NetworkingConstants

Constants used by ServicesServers and their components.


Field Summary
static int GARBAGE_CONNECTION_CLEANUP_TIMEOUT
          Maximum amount of time, in milliseconds, a connection can be idle, even if we don't want to drop idle connections.
static int MAX_CONNECTIONS
          Limit the maximum number of client connection to the server
static int MAXIMUM_TRANSMISSION_ERRORS
          If we get more bad messages than this, it may be malicous.
 
Fields inherited from interface ecologylab.services.distributed.common.NetworkingConstants
CHARACTER_ENCODING, CONTENT_LENGTH_STRING, CONTENT_LENGTH_STRING_LENGTH, DECODER, ENCODER, HTTP_HEADER_LINE_DELIMITER, HTTP_HEADER_TERMINATOR, MAX_HTTP_HEADER_LENGTH, MAX_PACKET_SIZE_BYTES, MAX_PACKET_SIZE_CHARACTERS, UNIQUE_IDENTIFIER_STRING
 

Field Detail

MAXIMUM_TRANSMISSION_ERRORS

static final int MAXIMUM_TRANSMISSION_ERRORS
If we get more bad messages than this, it may be malicous.

See Also:
Constant Field Values

MAX_CONNECTIONS

static final int MAX_CONNECTIONS
Limit the maximum number of client connection to the server

See Also:
Constant Field Values

GARBAGE_CONNECTION_CLEANUP_TIMEOUT

static final int GARBAGE_CONNECTION_CLEANUP_TIMEOUT
Maximum amount of time, in milliseconds, a connection can be idle, even if we don't want to drop idle connections.

See Also:
Constant Field Values