TAO_CosEvent  2.0.8
Public Member Functions
CosEventChannelAdmin::ProxyPushSupplier Interface Reference

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

import "CosEventChannelAdmin.idl";

Inheritance diagram for CosEventChannelAdmin::ProxyPushSupplier:
Inheritance graph
[legend]
Collaboration diagram for CosEventChannelAdmin::ProxyPushSupplier:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void connect_push_consumer (in CosEventComm::PushConsumer push_consumer) raises (AlreadyConnected, TypeError)
 Connect a push-style consumer to the Event Service.

Detailed Description

Interface used by push-style consumers.

Push-style consumers used this interface to connect and disconnect from the Event Service.

The disconnect_push_supplier() operation, derived from the CosEventEventComm::PushSupplier interface, is used to disconnect the ProxyPushSupplier and reclaim all resources attached to it from the Event Service.


Member Function Documentation

void CosEventChannelAdmin::ProxyPushSupplier::connect_push_consumer ( in CosEventComm::PushConsumer  push_consumer) raises (AlreadyConnected, TypeError)

Connect a push-style consumer to the Event Service.

The following operation must be invoked before the Event Service can deliver any events to the consumer.

Parameters:
push_consumerThe consumer, must be non-nil.
Exceptions:
CORBA::BAD_PARAMif the consumer 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines