TAO_RTEvent
2.1.6
|
Interface used to implement the Abstract Session pattern for the suppliers. More...
import "RtecEventChannelAdmin.idl";
Public Member Functions | |
void | connect_push_supplier (in RtecEventComm::PushSupplier push_supplier, in SupplierQOS qos) raises (AlreadyConnected) |
Connect a supplier with the Event Channel. | |
![]() | |
oneway void | push (in EventSet data) |
Main event delivery callback. | |
void | disconnect_push_consumer () |
Callback method to indicate a disconnection. |
Interface used to implement the Abstract Session pattern for the suppliers.
Each supplier converse with the Event Channel via a different object that implements the ProxyPushConsumer interface. This is a common idiom in CORBA, as it allows identification of the remote supplier efficiently.
void RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier | ( | in RtecEventComm::PushSupplier | push_supplier, |
in SupplierQOS | qos | ||
) | raises (AlreadyConnected) |
Connect a supplier with the Event Channel.
push_supplier | A callback interface, the disconnect_push_supplier operation is called when the Event Channel is destroyed. |
qos | This argument is used to pre-compute filtering and QoS properties for the supplier. |
CORBA::BAD_PARAM | if the push_supplier argument is nil |
AlreadyConnected | if this operation is invoked multiple times. |