jist.swans.route
Class RouteInterface.Dsr.BufferedPacket

java.lang.Object
  extended by jist.swans.route.RouteInterface.Dsr.BufferedPacket
Enclosing interface:
RouteInterface.Dsr

public static class RouteInterface.Dsr.BufferedPacket
extends java.lang.Object

Contains a packet and the time it was inserted into the buffer.


Field Summary
 long bufferTime
          The time it was inserted into the buffer.
 NetMessage.Ip msg
          The buffered packet.
 
Constructor Summary
RouteInterface.Dsr.BufferedPacket(NetMessage.Ip msg)
          Creates a new BufferedPacket.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msg

public NetMessage.Ip msg
The buffered packet.


bufferTime

public long bufferTime
The time it was inserted into the buffer.

Constructor Detail

RouteInterface.Dsr.BufferedPacket

public RouteInterface.Dsr.BufferedPacket(NetMessage.Ip msg)
Creates a new BufferedPacket.

Parameters:
msg - the packet to buffer.