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

    ID

    Fields inherited from class tigase.component.modules.AbstractModule

    eventBus, log, writer

    Fields inherited from interface tigase.component.modules.Module

    EMPTY_FEATURES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected tigase.server.Packet
     
    void
     
    protected String
     
    void
    process(tigase.server.Packet packet)
     

    Methods inherited from class tigase.component.modules.impl.XmppPingModule

    getFeatures, getModuleCriteria

    Methods inherited from class tigase.component.modules.AbstractModule

    fireEvent, getEventBus, getWriter, setEventBus, setWriter, write, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      process in interface tigase.component.modules.Module
      Overrides:
      process in class tigase.component.modules.impl.XmppPingModule
      Throws:
      tigase.component.exceptions.ComponentException
    • initialize

      public void initialize()
      Specified by:
      initialize in interface tigase.kernel.beans.Initializable
    • nextStanzaId

      protected String nextStanzaId()
    • createPingPacket

      protected tigase.server.Packet createPingPacket(String id, String from, String to) throws tigase.util.stringprep.TigaseStringprepException
      Throws:
      tigase.util.stringprep.TigaseStringprepException