getTheSubHandler()

Retrieves a pointer to the subscription handler. The caller can use this pointer to determine whether any subscriptions to a particular business object definition exist for the incoming business object.

Syntax

SubscriptionHandlerCPP *getTheSubHandler() const;
 

Return values

A pointer to the subscription handler.

Notes

Through the subscription handler, 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 the descriptions of the BusinessObject and BusObjSpec classes.

Copyright IBM Corp. 1997, 2003