@Bean(name="urn:xmpp:ping", active=true) public class XmppPingModule extends AbstractModule
Modifier and Type | Field and Description |
---|---|
static String |
ID |
eventBus, log, writer
EMPTY_FEATURES
Constructor and Description |
---|
XmppPingModule() |
Modifier and Type | Method and Description |
---|---|
String[] |
getFeatures()
Returns XMPP features offered by module.
|
Criteria |
getModuleCriteria()
Returns critera used by Component to select module to handle incoming stanza.
|
void |
process(Packet iq)
Process incoming stanza.
|
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, write
public static final String ID
public String[] getFeatures()
Module
null
.public Criteria getModuleCriteria()
Module
public void process(Packet iq) throws ComponentException
Module
iq
- received stanza
.ComponentException
- if stanza can't be processed correctly. ComponentException is converted to error
stanza and returned to stanza sender.Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.