zombie.core.network
Class UdpPacket.Header

java.lang.Object
  extended by zombie.core.network.UdpPacket.Header
Enclosing class:
UdpPacket

public static class UdpPacket.Header
extends java.lang.Object


Field Summary
 short ack
           
 int ackMask
           
 short id
           
 int protocolVersion
           
 
Constructor Summary
UdpPacket.Header()
           
 
Method Summary
 void clear()
           
 UdpPacket.Header copy()
           
 void read(java.nio.ByteBuffer bb)
           
 void write(java.nio.ByteBuffer bb)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocolVersion

public int protocolVersion

id

public short id

ack

public short ack

ackMask

public int ackMask
Constructor Detail

UdpPacket.Header

public UdpPacket.Header()
Method Detail

copy

public UdpPacket.Header copy()

clear

public void clear()

read

public void read(java.nio.ByteBuffer bb)

write

public void write(java.nio.ByteBuffer bb)