Ice 3.7 Slice API Reference
Operations | List of all members
IceStorm::TopicManager Interface Reference

A topic manager manages topics, and subscribers to topics. More...

defined in <IceStorm/IceStorm.ice>

interface TopicManager { ... }

Operations

Topiccreate (string name) throws TopicExists
 Create a new topic. More...
 
idempotent Ice::SliceChecksumDict getSliceChecksums ()
 Returns the checksums for the IceStorm Slice definitions. More...
 
idempotent Topicretrieve (string name) throws NoSuchTopic
 Retrieve a topic by name. More...
 
idempotent TopicDict retrieveAll ()
 Retrieve all topics managed by this topic manager. More...
 

Detailed Description

A topic manager manages topics, and subscribers to topics.

See also
Topic

Operation Documentation

◆ create()

Topic* create ( string  name) throws TopicExists

Create a new topic.

The topic name must be unique.

Parameters
nameThe name of the topic.
Returns
A proxy to the topic instance.
Exceptions
TopicExistsRaised if a topic with the same name already exists.

◆ getSliceChecksums()

["nonmutating","cpp:const"]
idempotent Ice::SliceChecksumDict getSliceChecksums ( )

Returns the checksums for the IceStorm Slice definitions.

Returns
A dictionary mapping Slice type ids to their checksums.

◆ retrieve()

["nonmutating","cpp:const"]
idempotent Topic* retrieve ( string  name) throws NoSuchTopic

Retrieve a topic by name.

Parameters
nameThe name of the topic.
Returns
A proxy to the topic instance.
Exceptions
NoSuchTopicRaised if the topic does not exist.

◆ retrieveAll()

["nonmutating","cpp:const"]
idempotent TopicDict retrieveAll ( )

Retrieve all topics managed by this topic manager.

Returns
A dictionary of string, topic proxy pairs.

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