TAO_CosNotification  2.0.8
Public Member Functions
CosNotifyChannelAdmin::ProxyPushSupplier Interface Reference

Defines the interface provided for push-style consumers using the 'any' event format. More...

import "CosNotifyChannelAdmin.idl";

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

List of all members.

Public Member Functions

void connect_any_push_consumer (in CosEventComm::PushConsumer push_consumer) raises (CosEventChannelAdmin::AlreadyConnected, CosEventChannelAdmin::TypeError )
 Connect a consumer to the proxy.
void suspend_connection () raises (ConnectionAlreadyInactive, NotConnected)
void resume_connection () raises (ConnectionAlreadyActive, NotConnected)

Detailed Description

Defines the interface provided for push-style consumers using the 'any' event format.


Member Function Documentation

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

Connect a consumer to the proxy.

The event channel will not push events to the consumer until this operation is invoked.

Parameters:
push_consumerthe callback object used to push events to the application and inform if the event channel is destroyed
Exceptions:
CORBA::BAD_PARAMif the push_consumer argument is nil
CosEventChannelAdmin::AlreadyConnectedif the proxy is already connected, i.e. if this operation is invoked more than one time.
void CosNotifyChannelAdmin::ProxyPushSupplier::resume_connection ( ) raises (ConnectionAlreadyActive, NotConnected)

Resume the connection, the event channel will start pushing events to the consumer once more

Exceptions:
ConnectionAlreadyActiveif the method is invoked while the connection is active
NotConnectedif the method is invoked before the supplier connects
void CosNotifyChannelAdmin::ProxyPushSupplier::suspend_connection ( ) raises (ConnectionAlreadyInactive, NotConnected)

Suspend the connection, the event channel will stop pushing events to the consumer.

Exceptions:
ConnectionAlreadyInactiveif the method is invoked while the connection is suspended
NotConnectedif the method is invoked before the supplier connects

The documentation for this interface was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines