Package | Description |
---|---|
org.richfaces.application.push | |
org.richfaces.application.push.impl | |
org.richfaces.application.push.impl.jms | |
org.richfaces.cdi.push |
RichFaces push CDI
|
Modifier and Type | Method and Description |
---|---|
TopicKey |
Topic.getKey()
Returns the key which this topic is associated with
|
TopicKey |
TopicKey.getRootTopicKey()
Returns the
TopicKey that identifies topic without subtopic. |
TopicKey |
MessageData.getTopicKey()
Returns a topic key with which this message is associated
|
TopicKey |
SessionTopicEvent.getTopicKey() |
protected TopicKey |
TopicsContext.getTopicKeyWithResolvedExpressions(TopicKey key) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Function<String,TopicKey> |
TopicKey.factory()
Returns the function for creating
TopicKey s from strings. |
Map<TopicKey,String> |
Session.getFailedSubscriptions()
Get a map of topic keys this session failed to be subscribed to including the message why the subscription failed
|
Collection<TopicKey> |
Session.getSuccessfulSubscriptions()
Get a list of topic keys this session is successfully subscribed to
|
static com.google.common.base.Function<TopicKey,String> |
TopicKey.toAddress()
Returns a function for converting
TopicKey to address strings in format 'subtopic@topic'. |
Modifier and Type | Method and Description |
---|---|
protected abstract Topic |
TopicsContext.createTopic(TopicKey key)
Creates topic for given topic key
|
Topic |
TopicsContext.getOrCreateTopic(TopicKey key)
Creates topic for given key or returns existing one when it was already created.
|
Topic |
TopicsContext.getTopic(TopicKey key)
Returns topic for given key or null if no such topic was created yet.
|
protected TopicKey |
TopicsContext.getTopicKeyWithResolvedExpressions(TopicKey key) |
void |
TopicsContext.publish(TopicKey key,
Object data)
Publishes data through the topic with given key.
|
void |
Session.push(TopicKey topicKey,
String serializedData)
Pushes given data to given topic key
|
void |
TopicsContext.removeTopic(TopicKey key)
Removes topic with given key or does nothing when no such topic was created yet.
|
Constructor and Description |
---|
MessageData(TopicKey topicKey,
String serializedMessageData,
long sequenceNumber) |
SessionPreSubscriptionEvent(Topic topic,
TopicKey topicKey,
Session session) |
SessionSubscriptionEvent(Topic topic,
TopicKey topicKey,
Session session) |
SessionTopicEvent(Topic topic,
TopicKey topicKey,
Session session) |
SessionUnsubscriptionEvent(Topic topic,
TopicKey topicKey,
Session session) |
Modifier and Type | Method and Description |
---|---|
TopicKey |
AbstractTopic.getKey() |
Modifier and Type | Method and Description |
---|---|
Map<TopicKey,String> |
SessionImpl.getFailedSubscriptions() |
Collection<TopicKey> |
SessionImpl.getSuccessfulSubscriptions() |
Modifier and Type | Method and Description |
---|---|
protected Topic |
TopicsContextImpl.createTopic(TopicKey key) |
void |
SessionImpl.push(TopicKey topicKey,
String serializedData) |
Constructor and Description |
---|
AbstractTopic(TopicKey key) |
TopicImpl(TopicKey key,
TopicsContextImpl topicsContext) |
Modifier and Type | Method and Description |
---|---|
protected Topic |
JMSTopicsContextImpl.createTopic(TopicKey key) |
Modifier and Type | Method and Description |
---|---|
TopicKey |
TopicKeyResolver.resolveTopicKey(Push pushAnnotation)
|
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.