Documentation for Ice 3.5. The latest release is Ice 3.7. Refer to the space directory for other releases.


IceStorm::TopicManager

Overview

interface TopicManager

A topic manager manages topics, and subscribers to topics.

See Also

Operation Index

create — Create a new topic.
retrieve — Retrieve a topic by name.
retrieveAll — Retrieve all topics managed by this topic manager.
getSliceChecksums — Returns the checksums for the IceStorm Slice definitions.

Operations

IceStorm::Topic* create(string name) throws IceStorm::TopicExists

Create a new topic. The topic name must be unique, otherwise IceStorm::TopicExists is raised.

Parameters

name — The name of the topic.

Return Value

A proxy to the topic instance.

Exceptions

IceStorm::TopicExists — Raised if a topic with the same name already exists.

[ "nonmutating" ] IceStorm::Topic* retrieve(string name) throws IceStorm::NoSuchTopic

Retrieve a topic by name.

Parameters

name — The name of the topic.

Return Value

A proxy to the topic instance.

Exceptions

IceStorm::NoSuchTopic — Raised if the topic does not exist.

[ "nonmutating" ] IceStorm::TopicDict retrieveAll()

Retrieve all topics managed by this topic manager.

Return Value

A dictionary of string, topic proxy pairs.

[ "nonmutating" ] Ice::SliceChecksumDict getSliceChecksums()

Returns the checksums for the IceStorm Slice definitions.

Return Value

A dictionary mapping Slice type ids to their checksums.


  • No labels