## Uses of Class
org.appng.api.messaging.Event

- Packages that use Event
  Package | Description
  --- | ---
  org.appng.api.messaging |
  org.appng.api.model | Provides an interface-based view to the domain model of appNG and some very basic interfaces.
  org.appng.appngizer.controller |
  org.appng.cli.commands.heartbeat |
  org.appng.core.controller.messaging |
  org.appng.core.domain | The persistent domain objects.

- - ### Uses of Event in org.appng.api.messaging

    Classes in org.appng.api.messaging with type parameters of type Event
    Modifier and Type | Interface and Description
    --- | ---
    `interface` | `EventHandler<E extends Event>` An event-handler is responsible for handling events of a certain type.

    Methods in org.appng.api.messaging with type parameters of type Event
    Modifier and Type | Method and Description
    --- | ---
    `<E extends Event,H extends EventHandler<E>> List<H>` | EventRegistry.`getHandlers(E event)` Retrieves a list of `EventHandler`s that have been registered for the given type of `Event`.
    `<E extends Event,H extends EventHandler<E>> void` | EventRegistry.`register(H handler)` Registers the given `EventHandler`

    Methods in org.appng.api.messaging that return Event
    Modifier and Type | Method and Description
    --- | ---
    `Event` | Serializer.`deserialize(byte[] data)` Deserializes an `Event` from the given data.
    `Event` | Serializer.`deserialize(InputStream data)` Deserializes an `Event` from the given data.

    Methods in org.appng.api.messaging with parameters of type Event
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Sender.`send(Event event)` Sends the given `Event`
    `void` | Serializer.`serialize(OutputStream out, Event event)` Serializes the given `Event` into the given `OutputStream`.

    Method parameters in org.appng.api.messaging with type arguments of type Event
    Modifier and Type | Method and Description
    --- | ---
    `static Sender` | Messaging.`createMessageSender(Environment env, ExecutorService executor, String nodeId, EventHandler<? extends Event> defaultHandler, Iterable<EventHandler<? extends Event>> handlers)` Creates and returns a new `Sender` and a corresponding `Receiver`.
    `static Sender` | Messaging.`createMessageSender(Environment env, ExecutorService executor, String nodeId, EventHandler<? extends Event> defaultHandler, Iterable<EventHandler<? extends Event>> handlers)` Creates and returns a new `Sender` and a corresponding `Receiver`.
    `void` | EventRegistry.`setDefaultHandler(EventHandler<? extends Event> defaultHandler)` Set the default `EventHandler`

  - ### Uses of Event in org.appng.api.model

    Methods in org.appng.api.model with parameters of type Event
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | Site.`sendEvent(Event event)` If clustering is enabled, sends an `Event` to other appNG nodes

  - ### Uses of Event in org.appng.appngizer.controller

    Subclasses of Event in org.appng.appngizer.controller
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SiteController.ReloadSiteFromAppNGizer`

  - ### Uses of Event in org.appng.cli.commands.heartbeat

    Subclasses of Event in org.appng.cli.commands.heartbeat
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `HeartBeat.HeartBeatEvent`

  - ### Uses of Event in org.appng.core.controller.messaging

    Subclasses of Event in org.appng.core.controller.messaging
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NodeEvent` An `Event` that holds information about the current status of an node (system properties and environment,memory usage, state of sites).
    `class` | `ReloadSiteEvent`
    `class` | `ReloadTemplateEvent` An event to be fired when the `Template` for a `Site` needs to be reloaded.
    `class` | `RequestNodeState` An `Event` that triggers the `Receiver` to notify about the current status of the node by sending a `NodeEvent`.
    `class` | `SiteDeletedEvent` An event to be fired when a `Site` has been deleted.
    `class` | `SiteStateEvent` An `Event` to be fired when a `Site`'s `Site.SiteState` changes.
    `class` | `StopSiteEvent`

    Methods in org.appng.core.controller.messaging with parameters of type Event
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | RabbitMQSender.`send(Event event)`
    `boolean` | TribesSender.`send(Event event)`
    `boolean` | MulticastSender.`send(Event event)`
    `boolean` | JedisSender.`send(Event event)`
    `boolean` | HazelcastSender.`send(Event event)`

  - ### Uses of Event in org.appng.core.domain

    Methods in org.appng.core.domain with parameters of type Event
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | SiteImpl.`sendEvent(Event event)`

Copyright © 2011–2023 aiticon GmbH. All rights reserved.