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

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

import "CosEventChannelAdmin.idl";

Inheritance diagram for CosEventChannelAdmin::ProxyPullSupplier:
Inheritance graph
Collaboration diagram for CosEventChannelAdmin::ProxyPullSupplier:
Collaboration graph

Public Member Functions

void connect_pull_consumer (in CosEventComm::PullConsumer pull_consumer) raises (AlreadyConnected)
 Connect a pull consumer to the Event Service. More...
 
- Public Member Functions inherited from CosEventComm::PullSupplier
any pull () raises (Disconnected)
 Pull (blocking) one event from the supplier. More...
 
any try_pull (out boolean has_event) raises (Disconnected)
 Pull (non-blocking) one event from the supplier. More...
 
void disconnect_pull_supplier ()
 The peer has disconnected from the pull-style supplier. More...
 

Detailed Description

Interface used by pull-style consumers.

Pull-style suppliers use this interface to connect and disconnect from the Event Service.

The disconnect_pull_supplier() operation, derived from CosEventComm::PullSupplier, is used by the application to disconnect from the Event Service. The application can use the pull() and try_pull() operations to pull data from the Event Service.

Member Function Documentation

void CosEventChannelAdmin::ProxyPullSupplier::connect_pull_consumer ( in CosEventComm::PullConsumer  pull_consumer) raises (AlreadyConnected)

Connect a pull consumer to the Event Service.

Applications cannot pull events before this operation is invoked.

Parameters
pull_consumerCallback interface used to inform the the application when the Event Service is destroyed. The argument can be nil.
Exceptions
AlreadyConnectedif the operation is called a second time.

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