com.cafesoft.core.message
Class Constants

java.lang.Object
  |
  +--com.cafesoft.core.message.Constants

public class Constants
extends Object

Constants contains message system-wide static values.

Since:
1/31/02

Field Summary
static int APPLICATION_TYPE
          APPLICATION: The packet is part of an application-level message.
static int CONFIRM_ID_DEFAULT_VALUE
          Message header field default (unset) value for confirm receiver id.
static String CONFIRM_ID_HEADER_NAME
          Message header field name containing the optional confirm receiver id.
static boolean CONNECTION_INPUT_DEBUG
          Runtime flag for turning on debug statements contained within the StandardConnection's InputThread
static int CONNECTION_IO_THREADS_START_TIMEOUT
          Timeout (milliseconds) for Connection IO Threads to start.
static boolean CONNECTION_OUTPUT_DEBUG
          Runtime flag for turning on debug statements contained within the StandardConnection's OutputThread
static int CONNECTION_SERVER_ACK_TIMEOUT
          Timeout (milliseconds) for Server Started Acknowledgement.
static int CONNECTION_STOP_TIMEOUT
          Timeout (milliseconds) for Connection IO Threads to stop.
static boolean CONNECTION_TIME_DEBUG
          Runtime flag for turning on debug statements contained with StandardConection related to inter-thread and packet response wait times.
static int CONNECTION_TYPE
          CONNECTION: The packet is part of a connection control message.
static int CONNECTION_WAIT_INCREMENT
          The standard millisecond increment (used in call to wait(millis) before re-checking a timeout condition.
static String CONTENT_TYPE_HEADER_NAME
          Message header field name containing the content type
static boolean DEBUG
          Runtime debug flag for messaging framework.
static int ENDPOINT_REG_TYPE
          ENDPOINT REGISTRATION: Used in "EndPoint Registration Protocol", the packet with this message type is part of a Message used to register or unregister an EndPoint (a MessageSender or MessageReceiver) with a remote Connection.
static int ERROR_TYPE
          ERROR: The packet is part of an error message.
static int INVALID_TYPE
          INVALID: The packet type hasn't been set yet.
static int MESSAGE_ID_DEFAULT_VALUE
          Message header field default (unset) value for message id.
static String MESSAGE_ID_HEADER_NAME
          Message header field name containing the required message id.
static String PACKAGE
          Our package name.
static boolean PACKET_DEBUG
          Runtime debug flag for dumping data contained by packets.
static boolean PACKET_OBJECT_POOL_DEBUG
          Runtime flag that turns on real low level debug messages that are created when Packets are borrowed and returned to the PacketObjectPool
static int PROTOCOL_VERSION
          The Cafesoft Message System protocol version.
static int RECEIVER_ID_DEFAULT_VALUE
          Message header field default (unset) value for receiver id.
static String RECEIVER_ID_HEADER_NAME
          Message header field name containing the optional receiver id.
static int REPLY_TO_DEFAULT_VALUE
          Message header field default (unset) value for reply to header.
static String REPLY_TO_HEADER_NAME
          Message header field name containing the optional reply to id.
static int SENDER_ID_DEFAULT_VALUE
          Message header field default (unset) value for sender id.
static String SENDER_ID_HEADER_NAME
          Message id header field name containing the required sender id.
static String TRANSACTION_ID_HEADER_NAME
          Message header field name containing the transaction id
 
Constructor Summary
Constants()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
Runtime debug flag for messaging framework.


PACKET_DEBUG

public static boolean PACKET_DEBUG
Runtime debug flag for dumping data contained by packets.


CONNECTION_INPUT_DEBUG

public static boolean CONNECTION_INPUT_DEBUG
Runtime flag for turning on debug statements contained within the StandardConnection's InputThread


CONNECTION_OUTPUT_DEBUG

public static boolean CONNECTION_OUTPUT_DEBUG
Runtime flag for turning on debug statements contained within the StandardConnection's OutputThread


CONNECTION_TIME_DEBUG

public static boolean CONNECTION_TIME_DEBUG
Runtime flag for turning on debug statements contained with StandardConection related to inter-thread and packet response wait times. (Messages are currently written to stderr).


PACKET_OBJECT_POOL_DEBUG

public static boolean PACKET_OBJECT_POOL_DEBUG
Runtime flag that turns on real low level debug messages that are created when Packets are borrowed and returned to the PacketObjectPool


CONNECTION_WAIT_INCREMENT

public static int CONNECTION_WAIT_INCREMENT
The standard millisecond increment (used in call to wait(millis) before re-checking a timeout condition.


CONNECTION_IO_THREADS_START_TIMEOUT

public static int CONNECTION_IO_THREADS_START_TIMEOUT
Timeout (milliseconds) for Connection IO Threads to start.


CONNECTION_STOP_TIMEOUT

public static int CONNECTION_STOP_TIMEOUT
Timeout (milliseconds) for Connection IO Threads to stop.


CONNECTION_SERVER_ACK_TIMEOUT

public static int CONNECTION_SERVER_ACK_TIMEOUT
Timeout (milliseconds) for Server Started Acknowledgement.


PACKAGE

public static final String PACKAGE
Our package name.

See Also:
Constant Field Values

PROTOCOL_VERSION

public static final int PROTOCOL_VERSION
The Cafesoft Message System protocol version.

See Also:
Constant Field Values

MESSAGE_ID_HEADER_NAME

public static final String MESSAGE_ID_HEADER_NAME
Message header field name containing the required message id.

See Also:
Constant Field Values

SENDER_ID_HEADER_NAME

public static final String SENDER_ID_HEADER_NAME
Message id header field name containing the required sender id.

See Also:
Constant Field Values

RECEIVER_ID_HEADER_NAME

public static final String RECEIVER_ID_HEADER_NAME
Message header field name containing the optional receiver id.

See Also:
Constant Field Values

CONFIRM_ID_HEADER_NAME

public static final String CONFIRM_ID_HEADER_NAME
Message header field name containing the optional confirm receiver id.

See Also:
Constant Field Values

REPLY_TO_HEADER_NAME

public static final String REPLY_TO_HEADER_NAME
Message header field name containing the optional reply to id.

See Also:
Constant Field Values

CONTENT_TYPE_HEADER_NAME

public static final String CONTENT_TYPE_HEADER_NAME
Message header field name containing the content type

See Also:
Constant Field Values

TRANSACTION_ID_HEADER_NAME

public static final String TRANSACTION_ID_HEADER_NAME
Message header field name containing the transaction id

See Also:
Constant Field Values

MESSAGE_ID_DEFAULT_VALUE

public static final int MESSAGE_ID_DEFAULT_VALUE
Message header field default (unset) value for message id.

See Also:
Constant Field Values

SENDER_ID_DEFAULT_VALUE

public static final int SENDER_ID_DEFAULT_VALUE
Message header field default (unset) value for sender id.

See Also:
Constant Field Values

RECEIVER_ID_DEFAULT_VALUE

public static final int RECEIVER_ID_DEFAULT_VALUE
Message header field default (unset) value for receiver id.

See Also:
Constant Field Values

CONFIRM_ID_DEFAULT_VALUE

public static final int CONFIRM_ID_DEFAULT_VALUE
Message header field default (unset) value for confirm receiver id.

See Also:
Constant Field Values

REPLY_TO_DEFAULT_VALUE

public static final int REPLY_TO_DEFAULT_VALUE
Message header field default (unset) value for reply to header.

See Also:
Constant Field Values

INVALID_TYPE

public static final int INVALID_TYPE
INVALID: The packet type hasn't been set yet.

See Also:
Constant Field Values

APPLICATION_TYPE

public static final int APPLICATION_TYPE
APPLICATION: The packet is part of an application-level message.

See Also:
Constant Field Values

ERROR_TYPE

public static final int ERROR_TYPE
ERROR: The packet is part of an error message.

See Also:
Constant Field Values

CONNECTION_TYPE

public static final int CONNECTION_TYPE
CONNECTION: The packet is part of a connection control message.

See Also:
Constant Field Values

ENDPOINT_REG_TYPE

public static final int ENDPOINT_REG_TYPE
ENDPOINT REGISTRATION: Used in "EndPoint Registration Protocol", the packet with this message type is part of a Message used to register or unregister an EndPoint (a MessageSender or MessageReceiver) with a remote Connection.

See Also:
Constant Field Values
Constructor Detail

Constants

public Constants()


Generated on 10:40:31 AM September 10, 2003, © 1996-2003 Cafésoft LLC. All rights reserved.