|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--org.jabber.jabberbeans.PacketEvent
A PacketEvent
is an event occuring on a connection (from
the ConnectionBean) describing an event occuring from a unit of data being
sent or received.
Field Summary | |
private Packet |
packet
packet which this event is about |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
PacketEvent(java.lang.Object source)
construct an event with no packet. |
|
PacketEvent(java.lang.Object source,
Packet packet)
construct an event with a Packet object. |
Method Summary | |
Packet |
getPacket()
getPacket returns the packet which is the topic of this
event. |
Methods inherited from class java.util.EventObject |
getSource,
toString |
Methods inherited from class java.lang.Object |
|
Field Detail |
private Packet packet
Constructor Detail |
public PacketEvent(java.lang.Object source)
source
- Source object which is broadcasting the event.public PacketEvent(java.lang.Object source, Packet packet)
source
- Source object which is broadcasting the event.packet
- Packet which this event is aboutMethod Detail |
public Packet getPacket()
getPacket
returns the packet which is the topic of this
event.Packet
value, or null if none provided.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |