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

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

import "CosEventChannelAdmin.idl";

Inheritance diagram for CosEventChannelAdmin::ProxyPushSupplier:
Inheritance graph
Collaboration diagram for CosEventChannelAdmin::ProxyPushSupplier:
Collaboration graph

Public Member Functions

void connect_push_consumer (in CosEventComm::PushConsumer push_consumer) raises (AlreadyConnected, TypeError)
 Connect a push-style consumer to the Event Service. More...
- Public Member Functions inherited from CosEventComm::PushSupplier
void disconnect_push_supplier ()
 The peer has disconnected from the push-style supplier. More...

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.

push_consumerThe consumer, must be non-nil.
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: