EMPTY_FEATURES
Constructor and Description |
---|
GetFormModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(Packet packet)
Returns true if Packet can be procesed by module.
|
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 packet)
Process incoming stanza.
|
public String[] getFeatures()
Module
getFeatures
in interface Module
null
.public Criteria getModuleCriteria()
Module
getModuleCriteria
in interface Module
public boolean canHandle(Packet packet)
Module
public void process(Packet packet) throws ComponentException, TigaseStringprepException
Module
process
in interface Module
packet
- received stanza
.ComponentException
- if stanza can't be processed correctly. ComponentException is converted to error
stanza and returned to stanza sender.TigaseStringprepException
- if there was an error during stringprep processing.Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.