com.cogent.events
Class SimPacketEvent

java.lang.Object
  |
  +--com.cogent.events.SimEvent
        |
        +--com.cogent.events.SimPacketEvent
Direct Known Subclasses:
SimPacketArriveEvent, SimPacketDepartEvent

public abstract class SimPacketEvent
extends SimEvent

The base class of all simulated (contain packet) events.


Field Summary
protected  SimProcessingElement myDestination
           
protected  SimPacket myPacket
           
 
Fields inherited from class com.cogent.events.SimEvent
myCreationTime
 
Constructor Summary
SimPacketEvent()
           
 
Method Summary
 SimProcessingElement getDestination()
           
 SimPacket getPacket()
           
 
Methods inherited from class com.cogent.events.SimEvent
getCreationTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myPacket

protected SimPacket myPacket

myDestination

protected SimProcessingElement myDestination
Constructor Detail

SimPacketEvent

public SimPacketEvent()
Method Detail

getPacket

public SimPacket getPacket()

getDestination

public SimProcessingElement getDestination()