public class DiscoItemsModule extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static class |
DiscoItemsModule.DiscoItemEvent |
static class |
DiscoItemsModule.DiscoItemsAsyncCallback |
static class |
DiscoItemsModule.Item |
| Modifier and Type | Field and Description |
|---|---|
static Criteria |
CRIT |
static EventType |
ItemsRequested |
log, observable, sessionObject, writer| Constructor and Description |
|---|
DiscoItemsModule(SessionObject sessionObject,
PacketWriter packetWriter) |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
getItems(JID jid,
AsyncCallback callback) |
void |
getItems(JID jid,
DiscoItemsModule.DiscoItemsAsyncCallback callback) |
void |
getItems(JID jid,
String node,
AsyncCallback callback) |
protected void |
processGet(IQ element)
Method for processing stanza
<iq type='get'>. |
protected void |
processSet(IQ element)
Method for processing stanza
<iq type='set'>. |
addListener, addListener, process, removeAllListeners, removeListener, removeListener, setObservablepublic static final Criteria CRIT
public static final EventType ItemsRequested
public DiscoItemsModule(SessionObject sessionObject, PacketWriter packetWriter)
public Criteria getCriteria()
XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
public void getItems(JID jid, AsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void getItems(JID jid, DiscoItemsModule.DiscoItemsAsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionpublic void getItems(JID jid, String node, AsyncCallback callback) throws XMLException, JaxmppException
XMLExceptionJaxmppExceptionprotected void processGet(IQ element) throws XMPPException, XMLException, JaxmppException
AbstractIQModule<iq type='get'>.processGet in class AbstractIQModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionprotected void processSet(IQ element) throws XMPPException, XMLException, JaxmppException
AbstractIQModule<iq type='set'>.processSet in class AbstractIQModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionCopyright © 2006–2014 Tigase. All rights reserved.