Package tigase.eventbus.impl

# Class AbstractHandler

java.lang.Object
tigase.eventbus.impl.AbstractHandler

Direct Known Subclasses:
  `AbstractListenerHandler`, `ReflectEventListenerHandler`

public abstract class AbstractHandler extends Object

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static enum`
  `AbstractHandler.Type`
  Defines what type of event is expected by Handler.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractHandler(String packageName, String eventName)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract void`
  `dispatch(Object event, Object source, boolean remotelyGeneratedEvent)`
  `String`
  `getEventName()`
  `String`
  `getPackageName()`
  `abstract AbstractHandler.Type`
  `getRequiredEventType()`

  ### Methods inherited from class java.lang.Object

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

- ## Constructor Details

  - ### AbstractHandler

    public AbstractHandler(String packageName, String eventName)

- ## Method Details

  - ### dispatch

    public abstract void dispatch(Object event, Object source, boolean remotelyGeneratedEvent)

  - ### getEventName

    public String getEventName()

  - ### getPackageName

    public String getPackageName()

  - ### getRequiredEventType

    public abstract AbstractHandler.Type getRequiredEventType()