Class AbstractModule

java.lang.Object
tigase.component.modules.AbstractModule
tigase.meet.modules.AbstractModule
All Implemented Interfaces:
tigase.component.modules.Module
Direct Known Subclasses:
AllowMeetModule, CreateMeetModule, DenyMeetModule, DestroyMeetModule, JingleMeetModule

public abstract class AbstractModule extends tigase.component.modules.AbstractModule
  • Field Summary

    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
    tigase.component.exceptions.ComponentException
     
    void
    process(tigase.server.Packet packet)
     
    abstract CompletableFuture<tigase.server.Packet>
    processPacket(tigase.server.Packet packet)
     
    void
    sendExeception(tigase.server.Packet packet, Throwable ex)
     

    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, getFeatures, getModuleCriteria
  • Constructor Details

    • AbstractModule

      public AbstractModule()
  • Method Details

    • process

      public void process(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException
      Throws:
      tigase.component.exceptions.ComponentException
      tigase.util.stringprep.TigaseStringprepException
    • processPacket

      public abstract CompletableFuture<tigase.server.Packet> processPacket(tigase.server.Packet packet) throws tigase.component.exceptions.ComponentException, tigase.util.stringprep.TigaseStringprepException
      Throws:
      tigase.component.exceptions.ComponentException
      tigase.util.stringprep.TigaseStringprepException
    • convertThrowable

      public tigase.component.exceptions.ComponentException convertThrowable(Throwable ex)
    • sendExeception

      public void sendExeception(tigase.server.Packet packet, Throwable ex)