public class ClientStateIndicationModule extends Object implements XmppModule, ContextAware
| Constructor and Description |
|---|
ClientStateIndicationModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
active() |
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
void |
inactive() |
boolean |
isAvailable() |
void |
process(Element element)
Main method of module.
|
void |
setContext(Context context) |
boolean |
setState(boolean active) |
public void active()
public Criteria getCriteria()
XmppModulegetCriteria in interface XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
getFeatures in interface XmppModulepublic void inactive()
public boolean isAvailable()
throws XMLException
XMLExceptionpublic void process(Element element) throws XMPPException, XMLException, JaxmppException
XmppModuleprocess in interface XmppModuleelement - incoming XMPP stanzaXMPPExceptionXMLExceptionJaxmppExceptionpublic void setContext(Context context)
setContext in interface ContextAwarepublic boolean setState(boolean active)
Copyright © 2006–2018 Tigase. All rights reserved.