getTheSubHandler()

Retrieves a pointer to the subscription manager. The calling routine can use this pointer to determine whether any subscriptions to a particular business object definition exist for the business object.

Syntax

SubscriptionHandlerCPP * getTheSubHandler() const;
 

Parameters

None.

Return values

A pointer to the subscription manager.

Notes

Through the subscription manager, the connector keeps track of the subscribers for every verb of each business object definition that the connector publishes, in a consolidated list of all active subscriptions.

Examples

if (getTheSubHandler->isSubscribed(theObj->getName(), "Create"){
 }
 

See also

See also the description of the SubscriptionHandlerCPP, BusinessObject, and BusObjSpec classes.

Copyright IBM Corp. 1997, 2004