org.openorb.event
Class ProxyPushSupplierImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosEventChannelAdmin.ProxyPushSupplierPOA
          extended by org.openorb.event.ProxyPushSupplierImpl
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, ProxyPushSupplierOperations, PushSupplierOperations

public class ProxyPushSupplierImpl
extends ProxyPushSupplierPOA

The ProxyPushSupplier interface defines the second step for connecting push consumers to the event channel.

Author:
Jerome Daniel, Olivier Modica

Constructor Summary
ProxyPushSupplierImpl(EventChannelImpl channel)
          Constructor
 
Method Summary
 void connect_push_consumer(PushConsumer pushConsumer)
          This operation is used to connect to push consumer to this supplier.
 void disconnect_push_supplier()
          The disconnect_push_supplier operation terminates the event communication; it releases resources used at the supplier to support the event communication.
 
Methods inherited from class org.omg.CosEventChannelAdmin.ProxyPushSupplierPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyPushSupplierImpl

public ProxyPushSupplierImpl(EventChannelImpl channel)
Constructor

Method Detail

connect_push_consumer

public void connect_push_consumer(PushConsumer pushConsumer)
                           throws AlreadyConnected
This operation is used to connect to push consumer to this supplier.

Parameters:
pushConsumer - the PushConsumer to connect
Throws:
AlreadyConnected - If the ProxyPushSupplier is already connected to a PushConsumer, then the AlreadyConnected exception is raised.

disconnect_push_supplier

public void disconnect_push_supplier()
The disconnect_push_supplier operation terminates the event communication; it releases resources used at the supplier to support the event communication. The PushSupplier object reference is disposed.