infoservice.agreement.multicast
Class AgreementMessageTypes

java.lang.Object
  extended by infoservice.agreement.multicast.AgreementMessageTypes

public class AgreementMessageTypes
extends java.lang.Object

Author:
LERNGRUPPE An enum substitute for message types.

Field Summary
static int MESSAGE_TYPE_COMMIT
           
static int MESSAGE_TYPE_CONFIRMATION
           
static int MESSAGE_TYPE_ECHO
           
static int MESSAGE_TYPE_INIT
           
static int MESSAGE_TYPE_REJECT
           
 
Constructor Summary
AgreementMessageTypes()
           
 
Method Summary
static java.lang.String getTypeAsString(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE_TYPE_INIT

public static final int MESSAGE_TYPE_INIT
See Also:
Constant Field Values

MESSAGE_TYPE_ECHO

public static final int MESSAGE_TYPE_ECHO
See Also:
Constant Field Values

MESSAGE_TYPE_COMMIT

public static final int MESSAGE_TYPE_COMMIT
See Also:
Constant Field Values

MESSAGE_TYPE_REJECT

public static final int MESSAGE_TYPE_REJECT
See Also:
Constant Field Values

MESSAGE_TYPE_CONFIRMATION

public static final int MESSAGE_TYPE_CONFIRMATION
See Also:
Constant Field Values
Constructor Detail

AgreementMessageTypes

public AgreementMessageTypes()
Method Detail

getTypeAsString

public static java.lang.String getTypeAsString(int type)