org.appng.api.messaging

## Interface Sender

- All Known Implementing Classes:
    HazelcastSender, JedisSender, MulticastSender, RabbitMQSender, TribesSender

      public interface Sender

  Implementations are able to send `Event`s to multiple `Receiver`s.
  Author:
    Matthias Müller
  See Also:
    `Event`, `Receiver`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Sender` | `configure(Serializer eventDeserializer)` Configures this sender with the given `Serializer`
    `boolean` | `send(Event event)` Sends the given `Event`

- - ### Method Detail

    - #### configure

          Sender configure(Serializer eventDeserializer)

      Configures this sender with the given `Serializer`
      Parameters:
        `eventDeserializer` - the `Serializer` to use
      Returns:
        the sender

    - #### send

          boolean send(Event event)

      Sends the given `Event`
      Parameters:
        `event` - the `Event` so send
      Returns:
        whether or not sending the event was successful

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