TAO_CosEvent
2.3.1
|
Interface used by push-style consumers. More...
import"CosEventChannelAdmin.idl";
Public Member Functions | |
void | connect_push_consumer (in CosEventComm::PushConsumer push_consumer) raises (AlreadyConnected, TypeError) |
Connect a push-style consumer to the Event Service. More... | |
![]() | |
void | disconnect_push_supplier () |
The peer has disconnected from the push-style supplier. More... | |
Interface used by push-style consumers.
Push-style consumers used this interface to connect and disconnect from the Event Service.
The disconnect_push_supplier() operation, derived from the CosEventEventComm::PushSupplier interface, is used to disconnect the ProxyPushSupplier and reclaim all resources attached to it from the Event Service.
void CosEventChannelAdmin::ProxyPushSupplier::connect_push_consumer | ( | in CosEventComm::PushConsumer | push_consumer | ) | |
raises | ( | AlreadyConnected, | |||
TypeError | |||||
) |
Connect a push-style consumer to the Event Service.
The following operation must be invoked before the Event Service can deliver any events to the consumer.
push_consumer | The consumer, must be non-nil. |
CORBA::BAD_PARAM | if the consumer argument is nil. |
AlreadyConnected | if the operation is called a second time. |
TypeError | In Typed Event Services if the consumer does not match the expected type. |