Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Client.Topics.ISingleValueTopicDetails Interface Reference

Details of a Single Value topic. More...

Inheritance diagram for PushTechnology.ClientInterface.Client.Topics.ISingleValueTopicDetails:
PushTechnology.ClientInterface.Client.Topics.ITopicDetails

Public Member Functions

ISingleValueTopicDetailsBuilder CreateBuilder ()
 Returns a new Builder initialised with the values from these details. More...
 

Additional Inherited Members

- Properties inherited from PushTechnology.ClientInterface.Client.Topics.ITopicDetails
TopicDetailsLevel Level [get]
 Returns the level of detail available. More...
 
TopicType Type [get]
 Returns the topic type. More...
 
ITopicDetailsSchema Schema [get]
 Returns the topic schema. More...
 
ITopicDetailsAttributes Attributes [get]
 Returns the topic attributes. More...
 

Detailed Description

Details of a Single Value topic.

Such a topic maintains state at the server as single String value. This may be a simple string or it can have certain constraints (e.g. it is an integer value or a decimal value or its behaviour is determined by a user written Java class).

The nature of the single value is specified using an field metadata definition.

The easiest way to create an instance of such details is using ITopicControl.NewDetails(TopicType), for example:

var control = session.TopicControl; var details = control.NewDetails( TopicType.SINGLE_VALUE );

The above would create details describing a topic with a simple string value. Alternatively the details can be created using a builder obtained as follows:

var builder = control.CreateDetailsBuilder<ISingleValueTopicDetailsBuilder>();

Member Function Documentation

ISingleValueTopicDetailsBuilder PushTechnology.ClientInterface.Client.Topics.ISingleValueTopicDetails.CreateBuilder ( )

Returns a new Builder initialised with the values from these details.


The documentation for this interface was generated from the following file: