TAO_CosEvent
2.2.8
|
Interface used by pull-style consumers. More...
import"CosEventChannelAdmin.idl";
Public Member Functions | |
void | connect_pull_consumer (in CosEventComm::PullConsumer pull_consumer) raises (AlreadyConnected) |
Connect a pull consumer to the Event Service. More... | |
Public Member Functions inherited from CosEventComm::PullSupplier | |
any | pull () raises (Disconnected) |
Pull (blocking) one event from the supplier. More... | |
any | try_pull (out boolean has_event) raises (Disconnected) |
Pull (non-blocking) one event from the supplier. More... | |
void | disconnect_pull_supplier () |
The peer has disconnected from the pull-style supplier. More... | |
Interface used by pull-style consumers.
Pull-style suppliers use this interface to connect and disconnect from the Event Service.
The disconnect_pull_supplier() operation, derived from CosEventComm::PullSupplier, is used by the application to disconnect from the Event Service. The application can use the pull() and try_pull() operations to pull data from the Event Service.
void CosEventChannelAdmin::ProxyPullSupplier::connect_pull_consumer | ( | in CosEventComm::PullConsumer | pull_consumer | ) | |
raises | ( | AlreadyConnected | |||
) |
Connect a pull consumer to the Event Service.
Applications cannot pull events before this operation is invoked.
pull_consumer | Callback interface used to inform the the application when the Event Service is destroyed. The argument can be nil. |
AlreadyConnected | if the operation is called a second time. |