org.richfaces.application.push

## Class TopicEvent

- java.lang.Object
- - java.util.EventObject
  - - org.richfaces.application.push.TopicEvent

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    SessionTopicEvent

      public abstract class TopicEvent
      extends EventObject

  The event that can be published to registered `TopicListener`s.
  Author:
    Nick Belaevski
  See Also:
    Serialized Form

- - ### Field Summary

    - ### Fields inherited from class java.util.EventObject

      `source`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `TopicEvent(Topic topic)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Topic` | `getTopic()`
    `abstract void` | `invokeListener(EventListener listener)`
    `abstract boolean` | `isAppropriateListener(EventListener listener)`

    - ### Methods inherited from class java.util.EventObject

      `getSource, toString`

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

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

- - ### Constructor Detail

    - #### TopicEvent

          public TopicEvent(Topic topic)

  - ### Method Detail

    - #### getTopic

          public Topic getTopic()

    - #### isAppropriateListener

          public abstract boolean isAppropriateListener(EventListener listener)

    - #### invokeListener

          public abstract void invokeListener(EventListener listener)
                                       throws SubscriptionFailureException

      Throws:
        `SubscriptionFailureException`

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.