Smack

org.jivesoftware.smackx.pubsub
Class Node.NodeConfigTranslator

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

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

This class translates low level node configuration events into api level objects for user consumption.

Author:
Robin Collier

Constructor Summary
Node.NodeConfigTranslator(NodeConfigListener 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.NodeConfigTranslator

public Node.NodeConfigTranslator(NodeConfigListener 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.