Package tigase.workgroupqueues.modules

# Class AbstractModule

java.lang.Object
tigase.workgroupqueues.modules.AbstractModule

All Implemented Interfaces:
  `Module`

Direct Known Subclasses:
  `DepartQueueModule`, `JoinQueueModule`, `MucControllerModule`, `OfferModule`, `PresenceModule`, `QueueStatusModule`, `StatusModule`

public abstract class AbstractModule extends Object implements Module

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected PacketWriter`
  `writer`
  `static final String`
  `XMLNS`

  ### Fields inherited from interface tigase.component.modules.Module

  `EMPTY_FEATURES`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractModule()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected void`
  `write(Packet packet)`
  `protected void`
  `write(Packet packet, AsyncCallback callback)`

  ### 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, process`

- ## Field Details

  - ### XMLNS

    public static final String XMLNS
    See Also:
      - Constant Field Values

  - ### writer

    @Inject protected PacketWriter writer

- ## Constructor Details

  - ### AbstractModule

    public AbstractModule()

- ## Method Details

  - ### write

    protected void write(Packet packet, AsyncCallback callback)

  - ### write

    protected void write(Packet packet)