|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFlapPacketEvent
SnacPacketEvent
An event fired when a SNAC packet is received on a SNAC processor.
Constructor Summary | |
protected |
SnacPacketEvent(FlapPacketEvent other,
AbstractSnacProcessor snacProcessor,
SnacPacket snacPacket,
SnacCommand snacCommand)
Creates a new SnacPacketEvent with the given properties. |
protected |
SnacPacketEvent(SnacPacketEvent other)
Creates a SnacPacketEvent that is a duplicate of the given
object. |
Method Summary | |
SnacCommand |
getSnacCommand()
Returns a SnacCommand generated from the SNAC packet that was
received. |
SnacPacket |
getSnacPacket()
Returns the SNAC packet that was received. |
AbstractSnacProcessor |
getSnacProcessor()
Returns the SNAC processor on which a packet was received. |
Methods inherited from class FlapPacketEvent |
getFlapCommand, getFlapPacket, getFlapProcessor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected SnacPacketEvent(SnacPacketEvent other)
SnacPacketEvent
that is a duplicate of the given
object.
other
- the object to copyprotected SnacPacketEvent(FlapPacketEvent other, AbstractSnacProcessor snacProcessor, SnacPacket snacPacket, SnacCommand snacCommand)
SnacPacketEvent
with the given properties.
other
- a FlapPacketEvent
to copysnacProcessor
- the SNAC processor on which the packet was receivedsnacPacket
- the SNAC packet that was receivedsnacCommand
- the SNAC command that was received, or
null
if no SNAC command object is associated with
this eventMethod Detail |
public final AbstractSnacProcessor getSnacProcessor()
public final SnacPacket getSnacPacket()
public final SnacCommand getSnacCommand()
SnacCommand
generated from the SNAC packet that was
received.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |