net.clackrouter.packets
Class VNSPacketDepartureEvent
java.lang.Object
java.util.EventObject
net.clackrouter.packets.VNSPacketDepartureEvent
- All Implemented Interfaces:
- java.io.Serializable
public class VNSPacketDepartureEvent
- extends java.util.EventObject
Encapsulates an event that is sent to all interested parties when a
packet leaves a particular destination, for example the box input port,
the box itself, or the box output port.
- See Also:
VNSPacketDepartureListener
,
Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_packet
protected VNSPacket m_packet
VNSPacketDepartureEvent
public VNSPacketDepartureEvent(java.lang.Object source,
VNSPacket packet)
- Constructs communcation object event.
- Parameters:
source
- Object that is sending this eventpacket
- The packet to be sent
getPacket
public VNSPacket getPacket()
- Returns the packet associated with the event.
- Returns:
- Pakcet