edu.gwu.simplenetsim
Class NetsimPacket
java.lang.Object
edu.gwu.simplenetsim.NetsimPacket
- Direct Known Subclasses:
- DatalinkPacket, NetworkPacket, TransportPacket
public class NetsimPacket
- extends java.lang.Object
This is the base packet class, with optional info for the GUI.
Note: shapes have not been implemented, but colors are. The
color variable inherits down the hierarchy and can be set by
any layer. The appropriate color then shows up in animation.
This is useful for debugging - one can use a different color
for control packets, for instance.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CIRCLE
public static int CIRCLE
SQUARE
public static int SQUARE
IDCount
public static int IDCount
NetsimPacket
public NetsimPacket()