TAO_CosEvent
2.0.8
|
Define the interface implemented by push-style consumers. More...
import "CosEventComm.idl";
Public Member Functions | |
void | push (in any data) raises (Disconnected) |
Receive one event from the Consumer's peer. | |
void | disconnect_push_consumer () |
The peer has disconnected from the PushConsumer. |
Define the interface implemented by push-style consumers.
A push-style consumer passively receives events from the Event Service. Applications simply implement this interface, connect to the Event Service and receive events.
void CosEventComm::PushConsumer::disconnect_push_consumer | ( | ) |
The peer has disconnected from the PushConsumer.
The disconnect_push_consumer operation indicates that the peer has disconnected, for example, because it has been destroyed. The application can safely release all resources attached to this consumer and destroy it, no further push() calls should be expected.
void CosEventComm::PushConsumer::push | ( | in any | data | ) | raises (Disconnected) |
Receive one event from the Consumer's peer.
A supplier communicates event data to the consumer by invoking the push operation.
data | The event |
CosEventComm::Disconnected | if the object considers itself no longer connected to its peer. |