org.openorb.event
Class ConsumerAdminImpl

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosEventChannelAdmin.ConsumerAdminPOA
          extended by org.openorb.event.ConsumerAdminImpl
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, ConsumerAdminOperations

public class ConsumerAdminImpl
extends ConsumerAdminPOA

The ConsumerAdmin interface defines the first step for connecting consumers to the event channel; clients use it to obtain proxy suppliers.

Author:
Jerome Daniel, Olivier Modica

Constructor Summary
ConsumerAdminImpl(EventChannelImpl channel, org.omg.CORBA.ORB orb)
          Constructor
 
Method Summary
 ProxyPullSupplier obtain_pull_supplier()
          The obtain_pull_supplier operation returns a ProxyPullSupplier object.
 ProxyPushSupplier obtain_push_supplier()
          The obtain_push_supplier operation returns a ProxyPushSupplier object.
 
Methods inherited from class org.omg.CosEventChannelAdmin.ConsumerAdminPOA
_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

ConsumerAdminImpl

public ConsumerAdminImpl(EventChannelImpl channel,
                         org.omg.CORBA.ORB orb)
Constructor

Method Detail

obtain_push_supplier

public ProxyPushSupplier obtain_push_supplier()
The obtain_push_supplier operation returns a ProxyPushSupplier object. The ProxyPushSupplier object is then used to connect a push-style consumer.

Returns:
A ProxyPushSupplier object reference

obtain_pull_supplier

public ProxyPullSupplier obtain_pull_supplier()
The obtain_pull_supplier operation returns a ProxyPullSupplier object. The ProxyPullSupplier object is then used to connect a pull-style consumer.

Returns:
a ProxyPullSupplier object reference