# Subscriber - [Overview](#section2024935250165636) - [Summary](#section1403630683165636) - [Data Fields](#pub-attribs) - [Details](#section1104851508165636) - [Field](#section324310952165636) - [AddTopic](#afc91fc1255ae42cba3d037bbe27096fd) - [ModifyConsumer](#ab61beca9e502b1f6098ed49956a9ad51) - [Subscribe](#a963e7a8519c854662e8ba901d08838ee) - [Unsubscribe](#a37a99e64f59194d8f2191b91f566f0f4) ## **Overview** **Related Modules:** [Broadcast](Broadcast.md) **Description:** Defines the subscriber for external interfaces to subscribe to events and data of a topic. ## **Summary** ## Data Fields
Subscribe )(IUnknown *iUnknown, const Topic *topic, Consumer *consumer) |
|
ModifyConsumer )(IUnknown *iUnknown, const Topic *topic, Consumer *old, Consumer *current) |
Consumer *(* |
Unsubscribe )(IUnknown *iUnknown, const Topic *topic, const Consumer *consumer) |
Consumer *(* |
| iUnknown | Indicates external interface of the pub/sub feature. |
| topic | Indicates the topic to be subscribed to. |
| iUnknown | Indicates the pointer to the external interface of the pub/sub feature. |
| topic | Indicates the pointer to the topic whose consumer will be modified. |
| old | Indicates the pointer to the original consumer of the topic. |
| current | Indicates the pointer to the new consumer of the topic. |
| iUnknown | Indicates external interface of the pub/sub feature. |
| topic | Indicates the topic to be subscribed to. |
| consumer | Indicates the consumer who subscribes to the topic. |
| iUnknown | Indicates external interface of the pub/sub feature. This parameter is used to obtain subscription relationships. |
| topic | Indicates the pointer to the topic to unsubscribe from. |
| consumer | Indicates the pointer to the consumer. |