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
Interface Topic

    public interface Topic

Author:
  Nick Belaevski

Method Summary
`void` | `addTopicListener(TopicListener topicListener)`
`TopicKey` | `getKey()`
`MessageDataSerializer` | `getMessageDataSerializer()`
`void` | `publish(java.lang.String subtopic, java.lang.Object messageData)`
`void` | `publishEvent(TopicEvent event)`
`void` | `removeTopicListener(TopicListener topicListener)`
`void` | `setMessageDataSerializer(MessageDataSerializer serializer)`

Method Detail

### getKey

    TopicKey getKey()

### getMessageDataSerializer

    MessageDataSerializer getMessageDataSerializer()

### setMessageDataSerializer

    void setMessageDataSerializer(MessageDataSerializer serializer)

### addTopicListener

    void addTopicListener(TopicListener topicListener)

### removeTopicListener

    void removeTopicListener(TopicListener topicListener)

### publishEvent

    void publishEvent(TopicEvent event)
                      throws EventAbortedException

  Throws:
    `EventAbortedException`

### publish

    void publish(java.lang.String subtopic,
                 java.lang.Object messageData)
                 throws MessageException

  Throws:
    `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.