p2p.simulator.message
Class MessageT
java.lang.Object
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
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 |
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
MessageT
public MessageT()
toString
public static java.lang.String toString(int mType)