tigase.xmpp.impl
Class ServiceDiscovery

java.lang.Object
  extended by tigase.xmpp.XMPPProcessor
      extended by tigase.xmpp.XMPPProcessorAbstract
          extended by tigase.xmpp.impl.ServiceDiscovery
All Implemented Interfaces:
Comparable<XMPPProcessor>, XMPPImplIfc, XMPPProcessorIfc

public class ServiceDiscovery
extends XMPPProcessorAbstract

Implementation of JEP-030. Created: Mon Mar 27 20:45:36 2006

Version:
$Rev: 2090 $
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL
 
Constructor Summary
ServiceDiscovery()
           
 
Method Summary
 String id()
          Method description
 void processFromUserToServerPacket(tigase.xmpp.JID connectionId, Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 void processNullSessionPacket(Packet packet, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 void processServerSessionPacket(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)
          Method description
 tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
          Method description
 String[] supElements()
          Method description
 String[] supNamespaces()
          Method description
 
Methods inherited from class tigase.xmpp.XMPPProcessorAbstract
process, processFromUserOutPacket, processFromUserPacket, processToUserPacket
 
Methods inherited from class tigase.xmpp.XMPPProcessor
compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getInstance, init, isSupporting, supStreamFeatures
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface tigase.xmpp.XMPPImplIfc
concurrentQueuesNo, concurrentThreadsPerQueue, init, isSupporting, supStreamFeatures
 

Constructor Detail

ServiceDiscovery

public ServiceDiscovery()
Method Detail

id

public String id()
Method description

Returns:

processFromUserToServerPacket

public void processFromUserToServerPacket(tigase.xmpp.JID connectionId,
                                          Packet packet,
                                          XMPPResourceConnection session,
                                          NonAuthUserRepository repo,
                                          Queue<Packet> results,
                                          Map<String,Object> settings)
                                   throws PacketErrorTypeException
Method description

Specified by:
processFromUserToServerPacket in class XMPPProcessorAbstract
Parameters:
connectionId -
packet -
session -
repo -
results -
settings -
Throws:
PacketErrorTypeException

processNullSessionPacket

public void processNullSessionPacket(Packet packet,
                                     NonAuthUserRepository repo,
                                     Queue<Packet> results,
                                     Map<String,Object> settings)
                              throws PacketErrorTypeException
Method description

Overrides:
processNullSessionPacket in class XMPPProcessorAbstract
Parameters:
packet -
repo -
results -
settings -
Throws:
PacketErrorTypeException

processServerSessionPacket

public void processServerSessionPacket(Packet packet,
                                       XMPPResourceConnection session,
                                       NonAuthUserRepository repo,
                                       Queue<Packet> results,
                                       Map<String,Object> settings)
                                throws PacketErrorTypeException
Method description

Specified by:
processServerSessionPacket in class XMPPProcessorAbstract
Parameters:
packet -
session -
repo -
results -
settings -
Throws:
PacketErrorTypeException

supDiscoFeatures

public tigase.xml.Element[] supDiscoFeatures(XMPPResourceConnection session)
Method description

Specified by:
supDiscoFeatures in interface XMPPImplIfc
Overrides:
supDiscoFeatures in class XMPPProcessor
Parameters:
session -
Returns:

supElements

public String[] supElements()
Method description

Specified by:
supElements in interface XMPPImplIfc
Overrides:
supElements in class XMPPProcessor
Returns:

supNamespaces

public String[] supNamespaces()
Method description

Specified by:
supNamespaces in interface XMPPImplIfc
Overrides:
supNamespaces in class XMPPProcessor
Returns:


Copyright © 2001-2006 Tigase Developers Team. All rights Reserved.