public interface StatelessTopicDetails extends TopicDetails
Stateless
topic.
A stateless topic is one that has no data state maintained at the server and performs no specific function. Such a topic would normally be used simply to act an organisational node within the topic tree but may also be used for sending messages.
The easiest way to create an instance of such details is using
TopicControl.newDetails(TopicType)
, for example:
TopicControl control = session.feature(TopicControl.class);
TopicDetails details = control.newDetails(TopicType.STATELESS);
Alternatively the details can be created using a builder obtained as follows:
StatelessTopicDetails.Builder builder = control.newDetailsBuilder(StatelessTopicDetails.Builder.class);
Modifier and Type | Interface and Description |
---|---|
static interface |
StatelessTopicDetails.Attributes
Stateless topic details attributes.
|
static interface |
StatelessTopicDetails.Builder
Builder for Stateless topic details.
|
static interface |
StatelessTopicDetails.Schema
Stateless topic details schema.
|
TopicDetails.Level
Modifier and Type | Method and Description |
---|---|
StatelessTopicDetails.Builder |
newBuilder()
Returns a new builder initialized with the values from these details.
|
getAttributes, getLevel, getSchema, getType
StatelessTopicDetails.Builder newBuilder()
Copyright © 2016 Push Technology Ltd. All Rights Reserved.