|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Provides an interface for processing and intercepting SNAC packets received on a SNAC processor, optionally halting further processing of any given packet.
| Field Summary | |
static java.lang.Object |
CONTINUE_PROCESSING
A value indicating that the SNAC processor should continue processing the given packet normally. |
static java.lang.Object |
STOP_PROCESSING_ALL
A value indicating the SNAC processor should stop all further processing of a packet immediately. |
static java.lang.Object |
STOP_PROCESSING_LISTENERS
A value indicating that the SNAC processor should stop passing the packet through other vetoable and non-vetoable listeners. |
| Method Summary | |
java.lang.Object |
handlePacket(SnacPacketEvent event)
Called when a new packet arrives on a SNAC connection. |
| Field Detail |
public static final java.lang.Object STOP_PROCESSING_LISTENERS
STOP_PROCESSING_ALL, however, to
allow for future expansion of the SNAC processing code internal to
joscar.
public static final java.lang.Object STOP_PROCESSING_ALL
STOP_PROCESSING_LISTENERS, as
no further processing is done anyway.
public static final java.lang.Object CONTINUE_PROCESSING
| Method Detail |
public java.lang.Object handlePacket(SnacPacketEvent event)
CONTINUE_PROCESSING, STOP_PROCESSING_LISTENERS, and STOP_PROCESSING_ALL for details
on when to return which value.
event - an object describing the event
CONTINUE_PROCESSING, STOP_PROCESSING_LISTENERS, and STOP_PROCESSING_ALL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||