Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.2.0.CR1
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)`
`void` | `checkSubscription(TopicKey key, Session session)`
`TopicKey` | `getKey()`
`MessageDataSerializer` | `getMessageDataSerializer()`
`void` | `publish(TopicKey key, 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)

### checkSubscription

    void checkSubscription(TopicKey key,
                           Session session)
                           throws SubscriptionFailureException

  Throws:
    `SubscriptionFailureException`

### publishEvent

    void publishEvent(TopicEvent event)

### publish

    void publish(TopicKey key,
                 Object messageData)
                 throws MessageException

  Throws:
    `MessageException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| RichFaces Core API 4.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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