tapestry.impl.test
Class MicroRouteMsg

java.lang.Object
  |
  +--tapestry.api.TapestryRouteMsg
        |
        +--tapestry.impl.test.MicroRouteMsg
All Implemented Interfaces:
QueueElementIF, QuickSerializable

public class MicroRouteMsg
extends TapestryRouteMsg
implements QuickSerializable

The msg to test RouteMsg in MicroBench


Field Summary
 byte[] content
           
 long ms
           
 int size
           
 
Fields inherited from class tapestry.api.TapestryRouteMsg
hopCount, inbound, peer, qos, TTL
 
Constructor Summary
MicroRouteMsg(InputBuffer buffer)
           
MicroRouteMsg(SecureHash dest_guid, byte[] content, int size)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
           
 void setTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

content

public byte[] content

ms

public long ms

size

public int size
Constructor Detail

MicroRouteMsg

public MicroRouteMsg(SecureHash dest_guid,
                     byte[] content,
                     int size)

MicroRouteMsg

public MicroRouteMsg(InputBuffer buffer)
              throws QSException
Method Detail

setTime

public void setTime()

serialize

public void serialize(OutputBuffer buffer)
Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class TapestryRouteMsg

toString

public String toString()
Overrides:
toString in class Object