TAO_CosEvent  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
CosEventChannelAdmin::ProxyPullConsumer Interface Reference

Interface used by pull-style suppliers. More...

import "CosEventChannelAdmin.idl";

Inheritance diagram for CosEventChannelAdmin::ProxyPullConsumer:
Inheritance graph
Collaboration diagram for CosEventChannelAdmin::ProxyPullConsumer:
Collaboration graph

Public Member Functions

void connect_pull_supplier (in CosEventComm::PullSupplier pull_supplier) raises (AlreadyConnected, TypeError)
 Connect a pull supplier to the Event Service. More...
 
- Public Member Functions inherited from CosEventComm::PullConsumer
void disconnect_pull_consumer ()
 The peer has disconnected from the pull-style consumer. More...
 

Detailed Description

Interface used by pull-style suppliers.

Pull-style consumers use this interface to connect, disconnect and pull events from the Event Service.

The disconnect_pull_consumer() operation, derived from CosEventEventComm::PullConsumer, is used to disconnect from the Event Service.

Member Function Documentation

void CosEventChannelAdmin::ProxyPullConsumer::connect_pull_supplier ( in CosEventComm::PullSupplier  pull_supplier) raises (AlreadyConnected, TypeError)

Connect a pull supplier to the Event Service.

The Event Service will not start pulling events until this operation is invoked.

Parameters
pull_supplierCallback interface used to (1) inform the application when the Event Service is destroyed, and (2) pull events from the application. The argument cannot be nil.
Exceptions
CORBA::BAD_PARAMif the pull_supplier argument is nil.
AlreadyConnectedif the operation is called a second time.
TypeErrorIn Typed Event Services if the consumer does not match the expected type.

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