Package tigase.muc.modules.selfping
Class SelfPingModule
java.lang.Object
tigase.component.modules.AbstractModule
tigase.component.modules.impl.XmppPingModule
tigase.muc.modules.selfping.SelfPingModule
- All Implemented Interfaces:
tigase.component.modules.Module,tigase.kernel.beans.Initializable
@Bean(name="urn:xmpp:ping",
active=true)
public class SelfPingModule
extends tigase.component.modules.impl.XmppPingModule
implements tigase.kernel.beans.Initializable
-
Field Summary
Fields inherited from class tigase.component.modules.impl.XmppPingModule
IDFields inherited from class tigase.component.modules.AbstractModule
eventBus, log, writerFields inherited from interface tigase.component.modules.Module
EMPTY_FEATURES -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class tigase.component.modules.impl.XmppPingModule
getFeatures, getModuleCriteriaMethods inherited from class tigase.component.modules.AbstractModule
fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, writeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface tigase.component.modules.Module
canHandle
-
Constructor Details
-
SelfPingModule
public SelfPingModule()
-
-
Method Details
-
process
public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException - Specified by:
processin interfacetigase.component.modules.Module- Overrides:
processin classtigase.component.modules.impl.XmppPingModule- Throws:
tigase.component.exceptions.ComponentException
-
initialize
public void initialize()- Specified by:
initializein interfacetigase.kernel.beans.Initializable
-
nextStanzaId
-
createPingPacket
protected tigase.server.Packet createPingPacket(String id, String from, String to) throws tigase.util.stringprep.TigaseStringprepException - Throws:
tigase.util.stringprep.TigaseStringprepException
-