org.jivesoftware.smackx.pubsub
Class Node.ItemEventTranslator
java.lang.Object
org.jivesoftware.smackx.pubsub.Node.ItemEventTranslator
- All Implemented Interfaces:
- PacketListener
- Enclosing class:
- Node
public class Node.ItemEventTranslator
- extends Object
- implements PacketListener
This class translates low level item publication events into api level objects for
user consumption.
- Author:
- Robin Collier
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 |
Node.ItemEventTranslator
public Node.ItemEventTranslator(ItemEventListener eventListener)
processPacket
public void processPacket(Packet packet)
- Description copied from interface:
PacketListener
- Process the next packet sent to this packet listener.
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.
- Specified by:
processPacket
in interface PacketListener
- Parameters:
packet
- the packet to process.
Copyright © 2003-2007 Jive Software.