Class AbstractModule
java.lang.Object
tigase.component.modules.AbstractModule
- All Implemented Interfaces:
Module
- Direct Known Subclasses:
AbstractEventBusModule, AdHocCommandModule, DiscoveryModule, JabberVersionModule, RTBLEventModule, RTBLIqModule, TestGeneratorModule, TestSpamModule, XmppPingModule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected EventBusprotected final Loggerprotected PacketWriterFields inherited from interface Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidFires event.voidsetEventBus(EventBus eventBus) voidsetWriter(PacketWriter writer) protected voidprotected voidwrite(Packet packet, AsyncCallback asyncCallback) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Module
canHandle, getFeatures, getModuleCriteria, process
-
Field Details
-
log
-
eventBus
-
writer
-
-
Constructor Details
-
AbstractModule
public AbstractModule()
-
-
Method Details
-
getEventBus
-
setEventBus
-
getWriter
-
setWriter
-
fireEvent
-
write
-
write
-