To get access to the record definitions for the structures use:
-include_lib("cosNotification/include/*.hrl").
This module also exports the functions described in:
_get_MyFactory(Channel) -> ChannelFactory
Channel = #objrefChannelFactory = #objrefThis readonly attribute maintains the reference of the event channel factory that created the target channel.
_get_default_consumer_admin(Channel) -> ConsumerAdmin
Channel = #objrefConsumerAdmin = #objref This is a readonly attribute which maintains a reference to a default
ConsumerAdmin object associated with the target object.
_get_default_supplier_admin(Channel) -> SupplierAdmin
Channel = #objrefSupplierAdmin = #objref This is a readonly attribute which maintains a reference to a default
SupplierAdmin object associated with the target object.
_get_default_filter_factory(Channel) -> FilterFactory
Channel = #objrefFilterFactory = #objref The default FilterFactory associated with the target channe
is maintained by this readonly attribute.
new_for_consumers(Channel, OpType) -> Return
Channel = #objrefOpType = 'AND_OP' | 'OR_OP'Return = {ConsumerAdmin, AdminID}ConsumerAdmin = #objrefAdminID = long() This operation creates a new instance of a ConsumerAdmin and supplies
an Id which may be used when invoking other operations exported by this module.
The returned object will inherit the Quality of Service properties of the
target channel.
for_consumers(Channel) -> ConsumerAdmin
Channel = #objrefConsumerAdmin = #objref A new new instance of a ConsumerAdmin object is created but no
Id is returned. The returned object's operation type, i.e., 'AND_OP' or 'OR_OP'<c>,
will be set to the value of the configuration parameter <c>filterOp.
The target object's Quality of Service properties will be inherited by the
returned ConsumerAdmin.
new_for_suppliers(Channel, OpType) -> Return
Channel = #objrefOpType = 'AND_OP' | 'OR_OP'Return = {SupplierAdmin, AdminID}SupplierAdmin = #objrefAdminID = long() Enables us to create a new instance of a SupplierAdmin. An Id, which
may be used when invoking other operations exported by this module, is also
returned. The current Quality of Service settings associated with the target
object will be inherited by the SupplierAdmin.
for_suppliers(Channel) -> SupplierAdmin
Channel = #objrefSupplierAdmin = #objref To create a new SupplierAdmin with the target object's current
Quality of Service settings we can use this function. The returned object's
operation type ('AND_OP' or 'OR_OP'<c>) will be determined by the
configuration variable <c>filterOp.
get_consumeradmin(Channel, AdminID) -> ConsumerAdmin
Channel = #objrefAdminID = long()ConsumerAdmin = #objref | {'EXCEPTION', #'CosNotifyChannelAdmin_AdminNotFound'{}} If the given Id is associated with a ConsumerAdmin the object reference
is returned. If such association never existed or the ConsumerAdmin
have terminated an exception is raised.
get_supplieradmin(Channel, AdminID) -> SupplierAdmin
Channel = #objrefAdminID = long()SupplierAdmin = #objref | {'EXCEPTION', #'CosNotifyChannelAdmin_AdminNotFound'{}} Equal to the operation get_consumeradmin/2 but a reference to
a SupplierAdmin is returned.
get_all_consumeradmins(Channel) -> Reply
Channel = #objrefReply = [AdminID]AdminID = long() To get access to all ConsumerAdmin Id's created by the target object, and still
alive, this operation could be invoked.
get_all_supplieradmins(Channel) -> Reply
Channel = #objrefReply = [AdminID]AdminID = long() Equal to the operation get_all_consumeradmins/1 but returns
a list of all SupplierAdmin object ID's.
Channel = #objref The destroy operation will terminate the target channel and
all associated Admin objects.