The ProxyPushSupplier interface defines the second step for connecting push consumers to the event channel. A proxy supplier is similar to a normal supplier, but includes an additional method for connecting a consumer to the proxy supplier.
There are a number of exceptions that can be returned from functions in this interface.
-record('AlreadyConnected', {}).
-record('BAD_PARAM', {'OE_ID', minor, completion_status}).
The first exception is defined in the file event_service.hrl and the second one in the file corba.hrl.
Any object that possesses an object reference that supports the ProxyPushSupplier interface can perform the following operations:
connect_push_consumer(Object, PushConsumer) -> Return
Object = #objrefPushConsumer = #objref of PushConsumer typeReturn = void This operation connects PushConsumer object to the ProxyPushSupplier object.
If a nil object reference is passed CORBA standard BAD_PARAM exception
is raised. If the ProxyPushSupplier is already connected to a PushConsumer,
then the AlreadyConnected exception is raised.
disconnect_push_supplier(Object) -> Return
Object = #objrefReturn = voidThis operation disconnects proxy push supplier from the event channel and sends a notification about the loss of the connection to the push consumer attached to it.