tigase.disco
Class XMPPServiceCollector

java.lang.Object
  extended by tigase.server.AbstractComponentRegistrator<XMPPService>
      extended by tigase.disco.XMPPServiceCollector
All Implemented Interfaces:
ComponentRegistrator, ServerComponent

public abstract class XMPPServiceCollector
extends AbstractComponentRegistrator<XMPPService>

Class XMPPServiceCollector Created: Tue Nov 22 07:07:11 2005

Version:
$Rev: 630 $
Author:
Artur Hefczyc

Field Summary
static java.lang.String INFO_XMLNS
           
static java.lang.String ITEMS_XMLNS
           
 
Fields inherited from class tigase.server.AbstractComponentRegistrator
components
 
Constructor Summary
XMPPServiceCollector()
           
 
Method Summary
 void componentAdded(XMPPService component)
           
 void componentRemoved(XMPPService component)
           
 boolean isCorrectType(ServerComponent component)
           
 void processPacket(Packet packet, java.util.Queue<Packet> results)
          processPacket is a blocking processing method implemented by all components.
 
Methods inherited from class tigase.server.AbstractComponentRegistrator
addComponent, deleteComponent, getComponent, getComponentId, getName, initializationCompleted, release, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO_XMLNS

public static final java.lang.String INFO_XMLNS
See Also:
Constant Field Values

ITEMS_XMLNS

public static final java.lang.String ITEMS_XMLNS
See Also:
Constant Field Values
Constructor Detail

XMPPServiceCollector

public XMPPServiceCollector()
Method Detail

componentAdded

public void componentAdded(XMPPService component)
Specified by:
componentAdded in class AbstractComponentRegistrator<XMPPService>

isCorrectType

public boolean isCorrectType(ServerComponent component)
Specified by:
isCorrectType in class AbstractComponentRegistrator<XMPPService>

componentRemoved

public void componentRemoved(XMPPService component)
Specified by:
componentRemoved in class AbstractComponentRegistrator<XMPPService>

processPacket

public void processPacket(Packet packet,
                          java.util.Queue<Packet> results)
Description copied from interface: ServerComponent
processPacket is a blocking processing method implemented by all components. This method processes packet and returns results instantly without waiting for any resources.

Parameters:
packet - a Packet value


Copyright © 2008 Tigase. All Rights Reserved.