public enum TopicDataType extends Enum<TopicDataType>
TopicData
.
Enum Constant and Description |
---|
CHILD_LIST
Deprecated.
since 5.9
This topic type will be removed in a future release |
CUSTOM
Deprecated.
since 5.9
This topic type will be removed in a future release |
NONE
No topic data.
|
PAGED_RECORD
Deprecated.
since 5.9
This topic type will be removed in a future release |
PAGED_STRING
Deprecated.
since 5.9
This topic type will be removed in a future release |
PROTOCOL_BUFFER
Deprecated.
since 5.7
Support for Google Protocol Buffers topics will be removed in
a future release as BINARY |
RECORD
Diffusion Record Format.
|
ROUTING
Routing Topic Data.
|
SERVICE
Deprecated.
since 5.7
Messaging is a better alternative to Service Topics for sending point-to-point requests. |
SINGLE_VALUE
Single Value Format.
|
SLAVE
Slave Topic Data.
|
TOPIC_NOTIFY
Deprecated.
since 5.9
This topic type will be removed at a future release |
UNIVERSAL
Universal Topic.
|
Modifier and Type | Method and Description |
---|---|
static TopicDataType |
getByTypeCode(String typeCode)
Map type-code string to TopicDataType object.
|
String |
getDescription()
The description.
|
String |
getTypeCode()
Returns a one or two character code representing the type.
|
static TopicDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TopicDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopicDataType NONE
This special type is used to represent a topic that has no topic data.
public static final TopicDataType SINGLE_VALUE
PublishingTopicData
of type
SingleValueTopicData
.
public static final TopicDataType RECORD
PublishingTopicData
of type
RecordTopicData
.
@Deprecated public static final TopicDataType PROTOCOL_BUFFER
Support for Google Protocol Buffers topics will be removed in
a future release as BINARY universal
topics can be used to distribute protocol buffer messages.
PublishingTopicData
of type
PBTopicData
.
@Deprecated public static final TopicDataType CUSTOM
This topic type will be removed in a future release
PublishingTopicData
of type
CustomTopicData
.
public static final TopicDataType SLAVE
Topic data of type SlaveTopicData
@Deprecated public static final TopicDataType SERVICE
Messaging is a better alternative to Service Topics for sending point-to-point requests.
CommandTopicData
of type
ServiceTopicData
@Deprecated public static final TopicDataType PAGED_STRING
This topic type will be removed in a future release
CommandTopicData
of type
PagedStringTopicData
@Deprecated public static final TopicDataType PAGED_RECORD
This topic type will be removed in a future release
CommandTopicData
of type
PagedRecordTopicData
@Deprecated public static final TopicDataType TOPIC_NOTIFY
This topic type will be removed at a future release
CommandTopicData
of type
TopicNotifyTopicData
public static final TopicDataType ROUTING
Functional topic data of type
RoutingTopicData
@Deprecated public static final TopicDataType CHILD_LIST
This topic type will be removed in a future release
Functional topic data of type ChildListTopicData
.
public static final TopicDataType UNIVERSAL
Topic data of type UniversalTopicData
.
public static TopicDataType[] values()
for (TopicDataType c : TopicDataType.values()) System.out.println(c);
public static TopicDataType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getTypeCode()
public static TopicDataType getByTypeCode(String typeCode)
typeCode
- the codepublic String getDescription()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.