TAO_RTEvent  2.2.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
RtecEventChannelAdmin::ProxyPushConsumer Interface Reference

Interface used to implement the Abstract Session pattern for the suppliers. More...

import"RtecEventChannelAdmin.idl";

Inheritance diagram for RtecEventChannelAdmin::ProxyPushConsumer:
Inheritance graph
Collaboration diagram for RtecEventChannelAdmin::ProxyPushConsumer:
Collaboration graph

Public Member Functions

void connect_push_supplier (in RtecEventComm::PushSupplier push_supplier, in SupplierQOS qos) raises (AlreadyConnected)
 Connect a supplier with the Event Channel. More...
 
- Public Member Functions inherited from RtecEventComm::PushConsumer
oneway void push (in EventSet data)
 Main event delivery callback. More...
 
void disconnect_push_consumer ()
 Callback method to indicate a disconnection. More...
 

Detailed Description

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.

Member Function Documentation

void RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier ( in RtecEventComm::PushSupplier  push_supplier,
in SupplierQOS  qos 
)
raises (AlreadyConnected
)

Connect a supplier with the Event Channel.

Parameters
push_supplierA callback interface, the disconnect_push_supplier operation is called when the Event Channel is destroyed.
qosThis argument is used to pre-compute filtering and QoS properties for the supplier.
Exceptions
CORBA::BAD_PARAMif the push_supplier argument is nil
AlreadyConnectedif this operation is invoked multiple times.

The documentation for this interface was generated from the following file: