tigase.stats
Class StatisticsCollector

java.lang.Object
  extended by tigase.server.AbstractComponentRegistrator<StatisticsContainer>
      extended by tigase.stats.StatisticsCollector
All Implemented Interfaces:
XMPPService, ComponentRegistrator, ServerComponent

public class StatisticsCollector
extends AbstractComponentRegistrator<StatisticsContainer>
implements XMPPService

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

Version:
$Rev: 630 $
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.server.AbstractComponentRegistrator
components
 
Fields inherited from interface tigase.disco.XMPPService
CMD_FEATURES, DEF_FEATURES, INFO_XMLNS, ITEMS_XMLNS
 
Constructor Summary
StatisticsCollector()
           
 
Method Summary
 void componentAdded(StatisticsContainer component)
           
 void componentRemoved(StatisticsContainer component)
           
 java.util.List<tigase.xml.Element> getDiscoFeatures()
          Returns features for top level disco info
 tigase.xml.Element getDiscoInfo(java.lang.String node, java.lang.String jid)
           
 java.util.List<tigase.xml.Element> getDiscoItems(java.lang.String node, java.lang.String jid)
           
 boolean isCorrectType(ServerComponent component)
           
 void processPacket(Packet packet, java.util.Queue<Packet> results)
           
 void setName(java.lang.String name)
           
 
Methods inherited from class tigase.server.AbstractComponentRegistrator
addComponent, deleteComponent, getComponent, getName, release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tigase.server.ServerComponent
getName, release
 

Constructor Detail

StatisticsCollector

public StatisticsCollector()
Method Detail

setName

public void setName(java.lang.String name)
Specified by:
setName in interface ServerComponent
Overrides:
setName in class AbstractComponentRegistrator<StatisticsContainer>

componentAdded

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

isCorrectType

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

componentRemoved

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

processPacket

public void processPacket(Packet packet,
                          java.util.Queue<Packet> results)
Specified by:
processPacket in interface ServerComponent

getDiscoInfo

public tigase.xml.Element getDiscoInfo(java.lang.String node,
                                       java.lang.String jid)
Specified by:
getDiscoInfo in interface XMPPService

getDiscoFeatures

public java.util.List<tigase.xml.Element> getDiscoFeatures()
Description copied from interface: XMPPService
Returns features for top level disco info

Specified by:
getDiscoFeatures in interface XMPPService

getDiscoItems

public java.util.List<tigase.xml.Element> getDiscoItems(java.lang.String node,
                                                        java.lang.String jid)
Specified by:
getDiscoItems in interface XMPPService


Copyright © 2008 Tigase. All Rights Reserved.