Package | Description |
---|---|
com.pushtechnology.diffusion.client.content |
Unified API - Content.
|
com.pushtechnology.diffusion.client.content.update |
Unified API - Content Update.
|
com.pushtechnology.diffusion.client.features |
Unified API - Standard Client Features.
|
com.pushtechnology.diffusion.client.features.control.topics |
Unified API - Topic Control Features.
|
Modifier and Type | Method and Description |
---|---|
Content |
ContentBuilder.build()
Build content.
|
Content |
ContentFactory.newContent(byte[] bytes)
Convenience method to create simple byte content.
|
Content |
ContentFactory.newContent(CharSequence value)
Convenience method to create simple character content.
|
Modifier and Type | Method and Description |
---|---|
<R extends ContentReader> |
ContentFactory.newReader(Class<R> readerType,
Content content)
Creates a new content reader.
|
Modifier and Type | Method and Description |
---|---|
Update |
ContentUpdateFactory.apply(Content content)
Create a new update which applies the delta represented by the supplied
content to the current topic state and notifies all subscribers of the
change as appropriate.
|
Update |
ContentUpdateFactory.replace(Content content)
Create a new update which completely replaces the topic state with the
supplied content and notifies all subscribers.
|
Update |
ContentUpdateFactory.update(Content content)
Create a new update which updates the topic to the supplied state,
compares with the previous state and sends deltas of change to
subscribers if appropriate.
|
Modifier and Type | Method and Description |
---|---|
void |
Topics.FetchContextStream.onFetchReply(C context,
String topicPath,
Content content)
Called to return a reply to a fetch request.
|
void |
Topics.FetchStream.onFetchReply(String topicPath,
Content content)
Called to return a reply to a fetch request.
|
void |
Messaging.MessageStream.onMessageReceived(String topicPath,
Content content,
ReceiveContext context)
This indicates a message has been received for a specific path.
|
void |
Messaging.MessageStream.Default.onMessageReceived(String topicPath,
Content content,
ReceiveContext context) |
void |
Topics.TopicStream.onTopicUpdate(String topicPath,
Content content,
UpdateContext context)
Topic update received.
|
void |
Topics.TopicStream.Default.onTopicUpdate(String topicPath,
Content content,
UpdateContext context) |
Modifier and Type | Method and Description |
---|---|
void |
MessagingControl.MessageHandler.onMessage(SessionId sessionId,
String topicPath,
Content content,
ReceiveContext context)
Receives messages sent from client sessions via a topic.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.