tigase.disteventbus

## Interface EventBus

- All Known Implementing Classes:
    LocalEventBus

      public interface EventBus

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addHandler(String name, String xmlns, EventHandler handler)` Registers handler to receive events with given name and namespace.
    `void` | `fire(Element event)`
    `void` | `removeHandler(String name, String xmlns, EventHandler handler)`

- - ### Method Detail

    - #### addHandler

          void addHandler(String name,
                          String xmlns,
                          EventHandler handler)

      Registers handler to receive events with given name and namespace.
      Parameters:
        `name` - name of events. Can be `null`, then handler will be received all events with given `xmlns`.
        `xmlns` - namespace of events.
        `handler` - event handler.

    - #### fire

          void fire(Element event)

    - #### removeHandler

          void removeHandler(String name,
                             String xmlns,
                             EventHandler handler)

Copyright © 2017 "Tigase, Inc.". All rights reserved.