MyFactory
public EventChannelFactory MyFactory()
The MyFactory attribute is a readonly attribute that maintains
the object reference of the event channel factory, which
created a given Notification Service EventChannel instance.
- MyFactory in interface EventChannelOperations
_default_POA
public POA _default_POA()
Override this method from the Servant baseclass. Fintan Bolton
in his book "Pure CORBA" suggests that you override this method to
avoid the risk that a servant object (like this one) could be
activated by the wrong POA object.
- _default_POA in interface Servant
configure
public void configure(Configuration conf)
throws ConfigurationException
default_consumer_admin
public ConsumerAdmin default_consumer_admin()
The default_consumer_admin attribute is a readonly attribute
that maintains a reference to the default ConsumerAdmin
instance associated with the target EventChannel instance. Each
EventChannel instance has an associated default ConsumerAdmin
instance, which exists upon creation of the channel and is
assigned the unique identifier of zero. Subsequently, clients
can create additional Event Service style ConsumerAdmin
instances by invoking the inherited operation, and additional
Notification Service style ConsumerAdmin instances by invoking
the new_for_consumers operation defined by the EventChannel
interface.
- default_consumer_admin in interface EventChannelOperations
default_filter_factory
public FilterFactory default_filter_factory()
The default_filter_factory attribute is a readonly attribute
that maintains an object reference to the default factory to be
used by the EventChannel instance with which it is associated for
creating filter objects. If the target channel does not support
a default filter factory, the attribute will maintain the value
of OBJECT_NIL.
- default_filter_factory in interface EventChannelOperations
default_supplier_admin
public SupplierAdmin default_supplier_admin()
The default_supplier_admin attribute is a readonly attribute
that maintains a reference to the default SupplierAdmin
instance associated with the target EventChannel instance. Each
EventChannel instance has an associated default SupplierAdmin
instance, which exists upon creation of the channel and is
assigned the unique identifier of zero. Subsequently, clients
can create additional Event Service style SupplierAdmin
instances by invoking the inherited for_suppliers operation,
and additional Notification Service style SupplierAdmin
instances by invoking the new_for_suppliers operation defined
by the EventChannel interface.
- default_supplier_admin in interface EventChannelOperations
getAllConsumerAdmins
public List getAllConsumerAdmins()
fetch the List of all ConsumerAdmins that are connected to this
EventChannel.
getIOR
public String getIOR()
getKey
public int getKey()
getMaxNumberOfConsumers
public int getMaxNumberOfConsumers()
getMaxNumberOfSuppliers
public int getMaxNumberOfSuppliers()
getNumberOfConnectedClients
public int getNumberOfConnectedClients()
get the number of clients connected to this event channel. the
number is the total of all Suppliers and Consumers connected
to this channel.
getServant
public Servant getServant()
isPersistent
public boolean isPersistent()
new_for_consumers
public ConsumerAdmin new_for_consumers(InterFilterGroupOperator filterGroupOperator,
IntHolder intHolder)
The new_for_consumers operation is invoked to create a new
Notification Service style ConsumerAdmin instance. The
operation accepts as an input parameter a boolean flag, which
indicates whether AND or OR semantics will be used when
combining the filter objects associated with the newly created
ConsumerAdmin instance with those associated with a supplier
proxy, which was created by the ConsumerAdmin during the
evaluation of each event against a set of filter objects. The
new instance is assigned a unique identifier by the target
EventChannel instance that is unique among all ConsumerAdmin
instances currently associated with the channel. Upon
completion, the operation returns the reference to the new
ConsumerAdmin instance as the result of the operation, and the
unique identifier assigned to the new ConsumerAdmin instance as
the output parameter.
- new_for_consumers in interface EventChannelOperations
setKey
public void setKey(int key)