Package org.jivesoftware.smack.iqrequest
Class AbstractIqRequestHandler
- java.lang.Object
-
- org.jivesoftware.smack.iqrequest.AbstractIqRequestHandler
-
- All Implemented Interfaces:
IQRequestHandler
- Direct Known Subclasses:
IoTManager.IoTIqRequestHandler
public abstract class AbstractIqRequestHandler extends java.lang.Object implements IQRequestHandler
Convenience class to create IQ requests handlers.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jivesoftware.smack.iqrequest.IQRequestHandler
IQRequestHandler.Mode
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIqRequestHandler(java.lang.String element, java.lang.String namespace, IQ.Type type, IQRequestHandler.Mode mode)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElement()
IQRequestHandler.Mode
getMode()
java.lang.String
getNamespace()
IQ.Type
getType()
abstract IQ
handleIQRequest(IQ iqRequest)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.iqrequest.IQRequestHandler
getQName
-
-
-
-
Constructor Detail
-
AbstractIqRequestHandler
protected AbstractIqRequestHandler(java.lang.String element, java.lang.String namespace, IQ.Type type, IQRequestHandler.Mode mode)
-
-
Method Detail
-
handleIQRequest
public abstract IQ handleIQRequest(IQ iqRequest)
- Specified by:
handleIQRequest
in interfaceIQRequestHandler
-
getMode
public IQRequestHandler.Mode getMode()
- Specified by:
getMode
in interfaceIQRequestHandler
-
getType
public IQ.Type getType()
- Specified by:
getType
in interfaceIQRequestHandler
-
getElement
public java.lang.String getElement()
- Specified by:
getElement
in interfaceIQRequestHandler
-
getNamespace
public java.lang.String getNamespace()
- Specified by:
getNamespace
in interfaceIQRequestHandler
-
-