fulmine.distribution.connection.tcp
Class ProtocolMessageConstants

java.lang.Object
  extended by fulmine.distribution.connection.tcp.ProtocolMessageConstants

public abstract class ProtocolMessageConstants
extends Object

Holds constants for the discovery and connection protocol messages.

Author:
Ramon Servadei

Field Summary
static String CONN_ACK_MSG_TYPE
          Header of the connection acknowledge message that is sent when acknowledging a connecting remote IConnectionBroker.
static String CONNECTION_MSG_TYPE
          Header of the connection message that is sent when connecting to a remote IConnectionBroker.
static String DELIMITER
          The delimiter for the standard responses.
static String PULSE_MSG
          The header for the heartbeat pulse message to send when discovering other IConnectionBroker connections.
 
Constructor Summary
ProtocolMessageConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PULSE_MSG

public static final String PULSE_MSG
The header for the heartbeat pulse message to send when discovering other IConnectionBroker connections. The pulse message is
 pulse_<identity>_<host>_<port>
 


DELIMITER

public static final String DELIMITER
The delimiter for the standard responses.


CONNECTION_MSG_TYPE

public static final String CONNECTION_MSG_TYPE
Header of the connection message that is sent when connecting to a remote IConnectionBroker. The message serves to provide the identity and connection hashcode of the connecting remote context. The entire connection message is
 con_<identity>_<hashcode>
 


CONN_ACK_MSG_TYPE

public static final String CONN_ACK_MSG_TYPE
Header of the connection acknowledge message that is sent when acknowledging a connecting remote IConnectionBroker. The entire connection message is
 ack_<identity>_<hashcode>
 

Constructor Detail

ProtocolMessageConstants

public ProtocolMessageConstants()


Copyright © 2007-2009. All Rights Reserved.