DSSubscriber
Data subscriber structure.
Synopsis
typedef struct DSSubscriber {
DSDataType dataType;
int32 subscriberPort;
} DSSubscriber, *DSSubscriberPtr
Description
This data structure describes a generic subscriber. The dataType field is used to match logical data chunks in incoming data blocks in the stream. Each matching data block is delivered to the registered subscriber for that type of data. When the subscriber is finished with the data, it calls the buffer release procedure, which eventually frees the whole data block when all subscribers are finished with their individual logical data chunks.
Fields
dataType
- Type of data owned by subscriber.
subscriberPort
- Pointer to data subscriber procedure.
Associated Files
DataStream.h