|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.pubsub.Node.ItemEventTranslator
public class Node.ItemEventTranslator
This class translates low level item publication events into api level objects for user consumption.
| Constructor Summary | |
|---|---|
Node.ItemEventTranslator(ItemEventListener eventListener)
|
|
| Method Summary | |
|---|---|
void |
processPacket(Packet packet)
Process the next packet sent to this packet listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Node.ItemEventTranslator(ItemEventListener eventListener)
| Method Detail |
|---|
public void processPacket(Packet packet)
PacketListenerA single thread is responsible for invoking all listeners, so it's very important that implementations of this method not block for any extended period of time.
processPacket in interface PacketListenerpacket - the packet to process.
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||