interface Topic |
Publishers publish information on a particular topic. A topic logically represents a type.
Destroy the topic.
Retrieve information on the current links.
Get the name of this topic.
Get a proxy to a publisher object for this topic.
Create a link to the given topic.
Subscribe with the given QoS to this topic.
Destroy the link from this topic to the given topic unlink.
Unsubscribe the given unsubscribe.
Object* getPublisher(); |
Get a proxy to a publisher object for this topic. To publish data to a topic, the publisher calls getPublisher and then casts to the topic type. An unchecked cast must be used on this proxy.
void link(Topic* linkTo, int cost) throws LinkExists; |
Create a link to the given topic. All events originating on this topic will also be sent to link.
Raised if a link to the same topic already exists.
void subscribe(QoS theQoS, Object* subscriber); |
Subscribe with the given QoS to this topic. If the given subscribe proxy has already been registered, it will be replaced.
The quality of service parameters for this subscription.
The subscriber's proxy.
void unlink(Topic* linkTo) throws NoSuchLink; |
Destroy the link from this topic to the given topic unlink.
Raised if a link to the topic does not exist.
<<< Previous | Home | Next >>> |
IceStorm::NoSuchTopic | Up | IceStorm::TopicExists |