Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

CosNotifyChannelAdmin::SequenceProxyPushSupplier Interface Reference

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

#include <CosNotifyChannelAdmin.idl>

Inheritance diagram for CosNotifyChannelAdmin::SequenceProxyPushSupplier

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

Collaboration graph
[legend]
List of all members.

Public Methods

void connect_sequence_push_consumer ( in CosNotifyComm::SequencePushConsumer push_consumer) raises (CosEventChannelAdmin::AlreadyConnected, CosEventChannelAdmin::TypeError )
 Connect a consumer to the proxy. More...

void suspend_connection () raises (ConnectionAlreadyInactive, NotConnected)
 Suspend the connection, the event channel will stop pushing events to the consumer. More...

void resume_connection () raises (ConnectionAlreadyActive, NotConnected)
 Resume the connection, the event channel will start pushing events to the consumer once more. More...


Detailed Description

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


Member Function Documentation

void CosNotifyChannelAdmin::SequenceProxyPushSupplier::connect_sequence_push_consumer ( in CosNotifyComm::SequencePushConsumer 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_consumer   the callback object used to push events to the application and inform if the event channel is destroyed
Exceptions:
CORBA::BAD_PARAM   if the push_consumer argument is nil
CosEventChannelAdmin::AlreadyConnected   if the proxy is already connected, i.e. if this operation is invoked more than one time.

void CosNotifyChannelAdmin::SequenceProxyPushSupplier::resume_connection ( ) raises (ConnectionAlreadyActive, NotConnected)
 

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

Exceptions:
ConnectionAlreadyActive   if the method is invoked while the connection is active
NotConnected   if the method is invoked before the supplier connects

void CosNotifyChannelAdmin::SequenceProxyPushSupplier::suspend_connection ( ) raises (ConnectionAlreadyInactive, NotConnected)
 

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

Exceptions:
ConnectionAlreadyInactive   if the method is invoked while the connection is suspended
NotConnected   if the method is invoked before the supplier connects


The documentation for this interface was generated from the following file:
Generated at Sat Dec 1 12:36:20 2001 for TAO_CosNotification by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000