Smack

org.jivesoftware.smackx.pubsub
Class Node.ItemDeleteTranslator

java.lang.Object
  extended by org.jivesoftware.smackx.pubsub.Node.ItemDeleteTranslator
All Implemented Interfaces:
PacketListener
Enclosing class:
Node

public class Node.ItemDeleteTranslator
extends java.lang.Object
implements PacketListener

This class translates low level item deletion events into api level objects for user consumption.

Author:
Robin Collier

Constructor Summary
Node.ItemDeleteTranslator(ItemDeleteListener 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

Node.ItemDeleteTranslator

public Node.ItemDeleteTranslator(ItemDeleteListener eventListener)
Method Detail

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.

Smack

Copyright © 2003-2007 Jive Software.