j_waste.network
Class TestPacket

java.lang.Object
  extended byj_waste.network.Packet
      extended byj_waste.network.TestPacket

public class TestPacket
extends Packet

This is a raw packet with just enough to extend the Packet class. Only used in debugging and such.

Version:
0.1
Author:
Jan Lindblom (cl0wn@users.sourceforge.net)

Field Summary
protected  boolean iscomplete
           
 
Fields inherited from class j_waste.network.Packet
packet
 
Constructor Summary
TestPacket(byte[] pkg)
           
 
Method Summary
 void finalizePacket()
           
 byte[] toByteArray()
           
 
Methods inherited from class j_waste.network.Packet
padCD, reverseBytes, reverseInt, reverseShort, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

iscomplete

protected boolean iscomplete
Constructor Detail

TestPacket

public TestPacket(byte[] pkg)
Method Detail

finalizePacket

public void finalizePacket()
Specified by:
finalizePacket in class Packet

toByteArray

public byte[] toByteArray()
Specified by:
toByteArray in class Packet