TAO_CosEvent
2.2.0
|
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. More... | |
void | disconnect_push_consumer () |
The peer has disconnected from the PushConsumer. More... | |
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. |