Package | Description |
---|---|
com.pushtechnology.diffusion.client.features |
Unified API - Standard Client Features.
|
com.pushtechnology.diffusion.client.features.control.topics |
Unified API - Topic Control Features.
|
com.pushtechnology.diffusion.client.topics.details |
Unified API - Topic Details.
|
Modifier and Type | Method and Description |
---|---|
void |
Topics.SubscriberStream.onSubscription(String topicPath,
TopicSpecification specification)
Subscription notification.
|
void |
Topics.SubscriberStream.Default.onSubscription(String topicPath,
TopicSpecification specification) |
void |
Topics.SubscriberStream.onUnsubscription(String topicPath,
TopicSpecification specification,
Topics.UnsubscribeReason reason)
Unsubscription notification.
|
void |
Topics.SubscriberStream.Default.onUnsubscription(String topicPath,
TopicSpecification specification,
Topics.UnsubscribeReason reason) |
void |
Topics.ValueStream.onValue(String topicPath,
TopicSpecification specification,
V oldValue,
V newValue)
Notifies an update to a topic value from the server.
|
void |
Topics.ValueStream.Default.onValue(String topicPath,
TopicSpecification specification,
V oldValue,
V newValue) |
Modifier and Type | Method and Description |
---|---|
TopicSpecification |
TopicControl.newSpecification(TopicType topicType)
Create a new
TopicSpecification s for a given topic type. |
Modifier and Type | Method and Description |
---|---|
<C> void |
TopicControl.addTopic(String topicPath,
TopicSpecification specification,
Bytes value,
C context,
TopicControl.AddContextCallback<C> callback)
Version of
TopicControl.addTopic(String, TopicSpecification, Bytes, AddCallback) that
allows a user defined context to be provided. |
void |
TopicControl.addTopic(String topicPath,
TopicSpecification specification,
Bytes value,
TopicControl.AddCallback callback)
Send a request to the server to add a topic, specifying its initial
value.
|
<C> void |
TopicControl.addTopic(String topicPath,
TopicSpecification specification,
C context,
TopicControl.AddContextCallback<C> callback)
Version of
TopicControl.addTopic(String, TopicSpecification, AddCallback)
that allows a user defined context to be provided. |
void |
TopicControl.addTopic(String topicPath,
TopicSpecification specification,
TopicControl.AddCallback callback)
Send a request to the server to add a topic.
|
Modifier and Type | Method and Description |
---|---|
TopicSpecification |
TopicSpecification.withProperties(Map<String,String> properties)
Creates a new specification with the specified properties.
|
TopicSpecification |
TopicSpecification.withProperty(String key,
String value)
Creates a new specification with the specified property value set.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.