pamvotis.core
Class Packet

java.lang.Object
  extended by pamvotis.core.Packet

public class Packet
extends java.lang.Object

Represents a packet.

Author:
Dimitris El. Vassis

Field Summary
 long generationTime
          The time that the packet was generated
 int id
          The ID of the packet. -1 if it is a dummy packet
 int length
          The packet length in bits
 
Constructor Summary
Packet()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generationTime

public long generationTime
The time that the packet was generated


length

public int length
The packet length in bits


id

public int id
The ID of the packet. -1 if it is a dummy packet

Constructor Detail

Packet

public Packet()