org.androidpn.server.xmpp.handler
Class IQRegisterHandler

java.lang.Object
  extended by org.androidpn.server.xmpp.handler.IQHandler
      extended by org.androidpn.server.xmpp.handler.IQRegisterHandler

public class IQRegisterHandler
extends IQHandler

This class is to handle the TYPE_IQ jabber:iq:register protocol.

Author:
Sehwan Noh (devnoh@gmail.com)

Constructor Summary
IQRegisterHandler()
          Constructor.
 
Method Summary
 java.lang.String getNamespace()
          Returns the namespace of the handler.
 org.xmpp.packet.IQ handleIQ(org.xmpp.packet.IQ packet)
          Handles the received IQ packet.
 
Methods inherited from class org.androidpn.server.xmpp.handler.IQHandler
process
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQRegisterHandler

public IQRegisterHandler()
Constructor.

Method Detail

handleIQ

public org.xmpp.packet.IQ handleIQ(org.xmpp.packet.IQ packet)
                            throws UnauthorizedException
Handles the received IQ packet.

Specified by:
handleIQ in class IQHandler
Parameters:
packet - the packet
Returns:
the response to send back
Throws:
UnauthorizedException - if the user is not authorized

getNamespace

public java.lang.String getNamespace()
Returns the namespace of the handler.

Specified by:
getNamespace in class IQHandler
Returns:
the namespace