Package | Description |
---|---|
com.pushtechnology.diffusion.api.client.notify |
Provides the handler classes for dealing with messages from and to a
Topic that has
TopicNotifyTopicData |
com.pushtechnology.diffusion.api.topic |
Diffusion Topics API.
|
Modifier and Type | Method and Description |
---|---|
void |
TopicNotifyTopicListener.topicUpdated(String topicName,
Map<TopicProperty,Object> properties)
Deprecated.
Notifies a change to one or more of the non static properties of a
Topic.
|
Modifier and Type | Method and Description |
---|---|
static TopicProperty |
TopicProperty.fromKey(String key)
Returns TopicProperty enum from key representation.
|
static TopicProperty |
TopicProperty.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicProperty[] |
TopicProperty.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Map<TopicProperty,Object> |
TopicDefinition.getProperties()
Returns a copy of the map of the currently set definition properties.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
TopicDefinition.getBooleanProperty(TopicProperty property)
Returns the value of a Boolean property.
|
Byte |
TopicDefinition.getByteProperty(TopicProperty property)
Returns the value of a Byte property
|
Integer |
TopicDefinition.getIntegerProperty(TopicProperty property)
Returns the value of an Integer property
|
String[] |
TopicDefinition.getListProperty(TopicProperty property)
Returns the value of a String property split by list delimiters.
|
Long |
TopicDefinition.getLongProperty(TopicProperty property)
Returns the value of a Long property
|
Object |
TopicDefinition.getProperty(TopicProperty property)
Returns the value of a Topic property.
|
String |
TopicDefinition.getStringProperty(TopicProperty property)
Returns the value of a property as a String.
|
void |
TopicDefinition.setListProperty(TopicProperty property,
List<String> list)
Sets a list type property.
|
void |
TopicDefinition.setListProperty(TopicProperty property,
String... list)
Sets a list type property.
|
void |
TopicDefinition.setProperty(TopicProperty property,
Object value)
Set a Topic property.
|
Modifier and Type | Method and Description |
---|---|
void |
TopicDefinition.setProperties(Map<TopicProperty,Object> properties)
Set properties from a specified map of properties
|
Constructor and Description |
---|
TopicDefinition(TopicDataType type,
Map<TopicProperty,Object> properties)
Creates a Topic Definition of a specified type with properties.
|
TopicDefinition(TopicDataType type,
Map<TopicProperty,Object> properties,
MNode metadata)
Creates a Topic Definition.
|
Copyright © 2016 Push Technology Ltd. All Rights Reserved.