org.richfaces.push

## Class TopicImpl

- java.lang.Object
- - org.richfaces.push.AbstractTopic
  - - org.richfaces.push.TopicImpl

- All Implemented Interfaces:
    Topic

      public class TopicImpl
      extends AbstractTopic

  Author:
    Nick Belaevski

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TopicImpl(TopicKey key, TopicsContextImpl topicsContext)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `publish(TopicKey key, Object messageData)`
    `void` | `publishEvent(TopicEvent event)`

    - ### Methods inherited from class org.richfaces.push.AbstractTopic

      `addTopicListener, checkSubscription, getKey, getMessageDataSerializer, isAllowSubtopics, removeTopicListener, setAllowSubtopics, setMessageDataSerializer`

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

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

- - ### Constructor Detail

    - #### TopicImpl

          public TopicImpl(TopicKey key,
                   TopicsContextImpl topicsContext)

  - ### Method Detail

    - #### publish

          public void publish(TopicKey key,
                     Object messageData)
                       throws MessageException

      Specified by:
        `publish` in interface `Topic`
      Specified by:
        `publish` in class `AbstractTopic`
      Throws:
        `MessageException`

    - #### publishEvent

          public void publishEvent(TopicEvent event)

      Specified by:
        `publishEvent` in interface `Topic`
      Overrides:
        `publishEvent` in class `AbstractTopic`

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