@Bean(name="test-generator-module", parent=TestComponent.class, active=true) public class TestGeneratorModule extends AbstractModule
eventBus, writerEMPTY_FEATURES| Constructor and Description |
|---|
TestGeneratorModule() |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
getModuleCriteria()
Returns critera used by Component to select module to handle incoming stanza.
|
void |
process(Packet packet)
Process incoming stanza.
|
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanHandle, getFeaturespublic Criteria getModuleCriteria()
Modulepublic void process(Packet packet) throws ComponentException, TigaseStringprepException
Modulepacket - 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–2020 "Tigase, Inc.". All rights reserved.