p2p.simulator.message
Class MessageT

java.lang.Object
  extended by p2p.simulator.message.MessageT
All Implemented Interfaces:
java.io.Serializable

public class MessageT
extends java.lang.Object
implements java.io.Serializable

This class declares the types of messages that are used by the simulator to extract performance statistics regarding the protocols under simulation. The class that extends this one should start numbering from 1000, since the first 1,000 numbers are reserved.

See Also:
Serialized Form

Field Summary
static int DELETE_REQ
           
static int DELETE_RES
           
static int INSERT_REQ
           
static int INSERT_RES
           
static int LOOKUP_REQ
           
static int LOOKUP_RES
           
 
Constructor Summary
MessageT()
           
 
Method Summary
static java.lang.String toString(int mType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOOKUP_REQ

public static final int LOOKUP_REQ
See Also:
Constant Field Values

LOOKUP_RES

public static final int LOOKUP_RES
See Also:
Constant Field Values

INSERT_REQ

public static final int INSERT_REQ
See Also:
Constant Field Values

INSERT_RES

public static final int INSERT_RES
See Also:
Constant Field Values

DELETE_REQ

public static final int DELETE_REQ
See Also:
Constant Field Values

DELETE_RES

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

MessageT

public MessageT()
Method Detail

toString

public static java.lang.String toString(int mType)