tigase.xmpp.impl
Class JabberIqRegister

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

public class JabberIqRegister
extends XMPPProcessor
implements XMPPProcessorIfc

JEP-0077: In-Band Registration Created: Thu Feb 16 13:14:06 2006

Version:
$Rev: 2128 $
Author:
Artur Hefczyc

Field Summary
 
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL
 
Constructor Summary
JabberIqRegister()
           
 
Method Summary
 String id()
          Method description
 void process(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
 tigase.xml.Element[] supStreamFeatures(XMPPResourceConnection session)
          Method description
 
Methods inherited from class tigase.xmpp.XMPPProcessor
compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getInstance, init, isSupporting
 
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
 

Constructor Detail

JabberIqRegister

public JabberIqRegister()
Method Detail

id

public String id()
Method description

Specified by:
id in interface XMPPImplIfc
Returns:

process

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

Specified by:
process in interface XMPPProcessorIfc
Parameters:
packet -
session -
repo -
results -
settings -
Throws:
XMPPException - TODO: Implement registration form configurable and loading all the fields from the registration form TODO: rewrite the plugin using the XMPPProcessorAbstract API

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:

supStreamFeatures

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

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


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