Using the CORBA Notification Service
Gets an object reference to the filter currently associated with the subscriber's callback object.
Filter get_filter( in FilterID filter )
raises ( FilterNotFound);
Used when a restartable subscriber wants to unsubscribe. This operation is used in subscriber applications to get an object reference to the filter currently associated with the subscriber's callback object. The FilterID
that is passed in must be valid for the subscriber's StructuredProxyPushSupplier object. If the FilterID
is not valid for any proxy object associated with the event channel, then a FilterNotFound
exception is thrown. The operation is only used by subscribers that shut down and restart.
The following usage restrictions and guidelines apply to this operation:
Returns a filter object reference to the filter currently associated with the subscriber's callback object.
CosNotify::Filter_var filter =
subscription->get_filter( filter_id() );