Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.application.push.impl
Class AbstractTopic

    java.lang.Object
      org.richfaces.application.push.impl.AbstractTopic

All Implemented Interfaces:
  org.richfaces.application.push.Topic

Direct Known Subclasses:
  TopicImpl

    public abstract class AbstractTopic

extends java.lang.Object
implements org.richfaces.application.push.Topic

Author:
  Nick Belaevski

Constructor Summary
`AbstractTopic(org.richfaces.application.push.TopicKey key)`

Method Summary
`void` | `addTopicListener(org.richfaces.application.push.TopicListener topicListener)`
`org.richfaces.application.push.TopicKey` | `getKey()`
`org.richfaces.application.push.MessageDataSerializer` | `getMessageDataSerializer()`
`boolean` | `isAllowSubtopics()`
`abstract void` | `publish(java.lang.String subtopic, java.lang.Object messageData)`
`void` | `publishEvent(org.richfaces.application.push.TopicEvent event)`
`void` | `removeTopicListener(org.richfaces.application.push.TopicListener topicListener)`
`void` | `setAllowSubtopics(boolean allowSubtopics)`
`void` | `setMessageDataSerializer(org.richfaces.application.push.MessageDataSerializer serializer)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AbstractTopic

    public AbstractTopic(org.richfaces.application.push.TopicKey key)

Method Detail

### getMessageDataSerializer

    public org.richfaces.application.push.MessageDataSerializer getMessageDataSerializer()

  Specified by:
    `getMessageDataSerializer` in interface `org.richfaces.application.push.Topic`

### setMessageDataSerializer

    public void setMessageDataSerializer(org.richfaces.application.push.MessageDataSerializer serializer)

  Specified by:
    `setMessageDataSerializer` in interface `org.richfaces.application.push.Topic`

### isAllowSubtopics

    public boolean isAllowSubtopics()

### setAllowSubtopics

    public void setAllowSubtopics(boolean allowSubtopics)

### getKey

    public org.richfaces.application.push.TopicKey getKey()

  Specified by:
    `getKey` in interface `org.richfaces.application.push.Topic`

### addTopicListener

    public void addTopicListener(org.richfaces.application.push.TopicListener topicListener)

  Specified by:
    `addTopicListener` in interface `org.richfaces.application.push.Topic`

### removeTopicListener

    public void removeTopicListener(org.richfaces.application.push.TopicListener topicListener)

  Specified by:
    `removeTopicListener` in interface `org.richfaces.application.push.Topic`

### publishEvent

    public void publishEvent(org.richfaces.application.push.TopicEvent event)
                      throws org.richfaces.application.push.EventAbortedException

  Specified by:
    `publishEvent` in interface `org.richfaces.application.push.Topic`
  Throws:
    `org.richfaces.application.push.EventAbortedException`

### publish

    public abstract void publish(java.lang.String subtopic,
                                 java.lang.Object messageData)
                          throws org.richfaces.application.push.MessageException

  Specified by:
    `publish` in interface `org.richfaces.application.push.Topic`
  Throws:
    `org.richfaces.application.push.MessageException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.