zombie.core.network
Class PendingUdpPacket

java.lang.Object
  extended by zombie.core.network.PendingUdpPacket

public class PendingUdpPacket
extends java.lang.Object


Field Summary
 int ageSinceResend
           
 long id
           
 UdpPacket packet
           
 short packetId
           
 int retries
           
 int totalAge
           
 
Constructor Summary
PendingUdpPacket(short packetId, UdpPacket packet, long id)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int hashCode()
           
 void tick()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

packet

public final UdpPacket packet

totalAge

public int totalAge

ageSinceResend

public int ageSinceResend

retries

public int retries

id

public long id

packetId

public short packetId
Constructor Detail

PendingUdpPacket

public PendingUdpPacket(short packetId,
                        UdpPacket packet,
                        long id)
Method Detail

tick

public void tick()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object