Interface MessageEvent<T>


public interface MessageEvent<T>
Represents a message being published to a topic
  • Method Details

    • getMessage

      @Nonnull T getMessage()
      Returns:
      the message that was published
    • getPublishTime

      @Nonnull Date getPublishTime()
      Returns:
      the time the message was published
    • getSource

      @Nonnull ClusterNode getSource()
      Returns:
      the node the message was published on
    • getTopic

      @Nonnull String getTopic()
      Returns:
      the topic the message was published to