public static class Node.ItemEventTranslator extends Object implements StanzaListener
Constructor and Description |
---|
ItemEventTranslator(ItemEventListener eventListener) |
Modifier and Type | Method and Description |
---|---|
void |
processStanza(Stanza packet)
Process the next stanza sent to this stanza listener.
|
public ItemEventTranslator(ItemEventListener eventListener)
public void processStanza(Stanza packet)
StanzaListener
If this listener is synchronous, then a 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.
processStanza
in interface StanzaListener
packet
- the stanza to process.