org.omg.CosNotifyChannelAdmin
Class EventChannelPOA

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.CosNotifyChannelAdmin.EventChannelPOA
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, EventChannelOperations, AdminPropertiesAdminOperations, QoSAdminOperations
Direct Known Subclasses:
EventChannelImpl, EventChannelPOATie

public abstract class EventChannelPOA
extends org.omg.PortableServer.Servant
implements EventChannelOperations, org.omg.CORBA.portable.InvokeHandler

The EventChannel interface encapsulates the behaviors supported by a Notification Service event channel. This interface inherits from the EventChannel interface defined within the CosEventChannelAdmin module of the OMG Event Service, making an instance of the Notification Service EventChannel interface fully backward compatible with an OMG Event Service style untyped event channel. Inheritance of the EventChannel interface defined within the CosEventChannelAdmin module enables an instance of the EventChannel interface defined within the CosNotifyChannelAdmin module to create event service style ConsumerAdmin and SupplierAdmin instances. These instances can subsequently be used to create pure event service style proxy interfaces, which support connections to pure event service style suppliers and consumers. Note that while Notification Service style proxies and admin objects have unique identifiers associated with them, enabling their references to be obtained by invoking operations on the Notification Service style admin and event channel interfaces, Event Service style proxies and admin objects do not have associated unique identifiers, and thus cannot be returned by invoking an operation on the Notification Service style admin or event channel interfaces. The EventChannel interface defined within the CosNotifyChannelAdmin module also inherits from the QoSAdmin and the AdminPropertiesAdmin interfaces defined within the CosNotification module. Inheritance of these interfaces enables a Notification Service style event channel to manage lists of associated QoS and administrative properties, respectively. Locally, the EventChannel interface supports a readonly attribute which maintains a reference to the EventChannelFactory instance that created it. In addition, each instance of the EventChannel interface has an associated default ConsumerAdmin and an associated default SupplierAdmin instance, both of which exist upon creation of the channel and which have the unique identifier of zero (note that admin object identifiers only need to be unique among a given type of admin, implying that the identifiers assigned to ConsumerAdmin objects can overlap those assigned to SupplierAdmin objects). The EventChannel interface supports readonly attributes which maintain references to these default admin objects. The EventChannel interface supports operations which create new ConsumerAdmin and SupplierAdmin instances. In addition, the EventChannel interface supports operations which can return references to the ConsumerAdmin and SupplierAdmin instances associated with a given EventChannel instance, given the unique identifier of an admin object as input. Finally, the EventChannel interface supports operations which return the sequence of unique identifiers of all ConsumerAdmin and SupplierAdmin instances associated with a given EventChannel instance.


Constructor Summary
EventChannelPOA()
           
 
Method Summary
 java.lang.String[] _all_interfaces(org.omg.PortableServer.POA poa, byte[] objectId)
           
 org.omg.CORBA.portable.OutputStream _invoke(java.lang.String opName, org.omg.CORBA.portable.InputStream _is, org.omg.CORBA.portable.ResponseHandler handler)
           
 EventChannel _this()
           
 EventChannel _this(org.omg.CORBA.ORB orb)
           
 
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
 
Methods inherited from interface org.omg.CosNotifyChannelAdmin.EventChannelOperations
default_consumer_admin, default_filter_factory, default_supplier_admin, get_all_consumeradmins, get_all_supplieradmins, get_consumeradmin, get_supplieradmin, MyFactory, new_for_consumers, new_for_suppliers
 
Methods inherited from interface org.omg.CosNotification.QoSAdminOperations
get_qos, set_qos, validate_qos
 
Methods inherited from interface org.omg.CosNotification.AdminPropertiesAdminOperations
get_admin, set_admin
 
Methods inherited from interface org.omg.CosEventChannelAdmin.EventChannelOperations
destroy, for_consumers, for_suppliers
 

Constructor Detail

EventChannelPOA

public EventChannelPOA()
Method Detail

_this

public EventChannel _this()

_this

public EventChannel _this(org.omg.CORBA.ORB orb)

_all_interfaces

public java.lang.String[] _all_interfaces(org.omg.PortableServer.POA poa,
                                          byte[] objectId)
Specified by:
_all_interfaces in class org.omg.PortableServer.Servant

_invoke

public final org.omg.CORBA.portable.OutputStream _invoke(java.lang.String opName,
                                                         org.omg.CORBA.portable.InputStream _is,
                                                         org.omg.CORBA.portable.ResponseHandler handler)
Specified by:
_invoke in interface org.omg.CORBA.portable.InvokeHandler