public class AdHocCommandMonitorModule extends AdHocCommandModule<MonitorContext>
AdHocCommandModule.ScriptCommandProcessorCOMMAND_PATH, commandsManager, CRIT, ID, scriptProcessor, XMLNScontext, log| Constructor and Description |
|---|
AdHocCommandMonitorModule(AdHocCommandModule.ScriptCommandProcessor scriptProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRegistration()
Called after registration.
|
void |
process(Packet packet)
Process incoming stanza.
|
getCommandListItems, getFeatures, getModuleCriteria, getScriptItems, processScriptAdHoc, registerbeforeRegister, fireEvent, setContext, unregisterModule, write, writepublic AdHocCommandMonitorModule(AdHocCommandModule.ScriptCommandProcessor scriptProcessor)
public void afterRegistration()
InitializingModuleafterRegistration in interface InitializingModuleafterRegistration in class AbstractModule<MonitorContext>public void process(Packet packet) throws ComponentException
Moduleprocess in interface Moduleprocess in class AdHocCommandModule<MonitorContext>packet - received stanza.ComponentException - if stanza can't be processed correctly. ComponentException is
converted to error stanza and returned to stanza sender.Copyright © 2015 "Tigase, Inc.". All rights reserved.