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()
XmppModule
getCriteria
in interface XmppModule
public String[] getFeatures()
XmppModule
Returns features what are implemented by Module.
getFeatures
in interface XmppModule
public void inactive()
public boolean isAvailable() throws XMLException
XMLException
public void process(Element element) throws XMPPException, XMLException, JaxmppException
XmppModule
process
in interface XmppModule
element
- incoming XMPP stanzaXMPPException
XMLException
JaxmppException
public void setContext(Context context)
setContext
in interface ContextAware
public boolean setState(boolean active)
Copyright © 2006–2023 Tigase. All rights reserved.