Openfire 3.6.3 Javadoc

org.jivesoftware.openfire
Class IQHandlerInfo

java.lang.Object
  extended by org.jivesoftware.openfire.IQHandlerInfo

public class IQHandlerInfo
extends Object

A simple meta-data class that stores several related tools for generic IQ protocol handling.

To handle an IQ packet, the server needs to know:

We provide this information by having all IQHandlers report their info. Interested parties can watch for IQHandlers in the service lookup and build appropriate data structures on the current state of IQ handlers in the system.

Author:
Iain Shigeoka

Constructor Summary
IQHandlerInfo(String name, String namespace)
          Construct an info object.
 
Method Summary
 String getName()
          Obtain the name of the root iq element for this packet type.
 String getNamespace()
          Obtain the namespace of the root iq element for this packet type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IQHandlerInfo

public IQHandlerInfo(String name,
                     String namespace)

Construct an info object.

Parameters:
name - The name of the root iq element
namespace - The namespace of the root iq element
Method Detail

getName

public String getName()

Obtain the name of the root iq element for this packet type.

Returns:
The name of the root iq element

getNamespace

public String getNamespace()

Obtain the namespace of the root iq element for this packet type.

Returns:
the namespace of the root iq element.

Openfire 3.6.3 Javadoc

Copyright © 2003-2008 Jive Software.