|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConsumerAdminOperations
Method Summary | |
---|---|
void |
destroy()
The destroy operation is invoked just before this ConsumerAdmin instance is destroyed, in this method, implementor must free all resources consumed by this instance. |
ProxySupplier |
get_proxy_supplier(int proxy_id)
|
MappingFilter |
lifetime_filter()
The lifetime_filter attribute maintains a reference to a mapping filter object that affects the way in which each proxy supplier object created by the target ConsumerAdmin instance treats each event it receives with respect to lifetime. |
void |
lifetime_filter(MappingFilter arg0)
The lifetime_filter attribute maintains a reference to a mapping filter object that affects the way in which each proxy supplier object created by the target ConsumerAdmin instance treats each event it receives with respect to lifetime. |
EventChannel |
MyChannel()
The MyChannel attribute is a readonly attribute that maintains the object reference of the Notification Service event channel, which created a given ConsumerAdmin instance. |
int |
MyID()
The MyID attribute is a readonly attribute that maintains the unique identifier of the target ConsumerAdmin instance, which is assigned to it upon creation by the Notification Service event channel. |
InterFilterGroupOperator |
MyOperator()
The MyOperator attribute is a readonly attribute that maintains the information regarding whether AND or OR semantics will be used during the evaluation of a given event against a set of filter objects, when combining the filter objects associated with the target ConsumerAdmin and those defined locally on a given proxy supplier. |
ProxySupplier |
obtain_notification_pull_supplier(ClientType ctype,
IntHolder proxy_id)
The obtain_notification_pull_supplier operation creates instances of the various types of pull-style proxy supplier objects defined within the CosNotifyChannelAdmin module. |
ProxySupplier |
obtain_notification_push_supplier(ClientType ctype,
IntHolder proxy_id)
The obtain_notification_push_supplier operation creates instances of the various types of push-style proxy supplier objects defined within the CosNotifyChannelAdmin module. |
MappingFilter |
priority_filter()
The priority_filter attribute maintains a reference to a mapping filter object that affects the way in which each proxy supplier object created by the target ConsumerAdmin instance treats each event it receives with respect to priority. |
void |
priority_filter(MappingFilter arg0)
The priority_filter attribute maintains a reference to a mapping filter object that affects the way in which each proxy supplier object created by the target ConsumerAdmin instance treats each event it receives with respect to priority. |
int[] |
pull_suppliers()
The pull_suppliers attribute is a readonly attribute that contains the list of unique identifiers, which have been assigned by a ConsumerAdmin instance to each pullstyle proxy supplier object it has created. |
int[] |
push_suppliers()
The push_suppliers attribute is a readonly attribute that contains the list of unique identifiers which have been assigned by a ConsumerAdmin instance to each pushstyle proxy supplier object it has created. |
Methods inherited from interface org.omg.CosNotification.QoSAdminOperations |
---|
get_qos, set_qos, validate_qos |
Methods inherited from interface org.omg.CosNotifyComm.NotifySubscribeOperations |
---|
subscription_change |
Methods inherited from interface org.omg.CosNotifyFilter.FilterAdminOperations |
---|
add_filter, get_all_filters, get_filter, remove_all_filters, remove_filter |
Methods inherited from interface org.omg.CosEventChannelAdmin.ConsumerAdminOperations |
---|
obtain_pull_supplier, obtain_push_supplier |
Method Detail |
---|
void destroy()
ProxySupplier obtain_notification_push_supplier(ClientType ctype, IntHolder proxy_id) throws AdminLimitExceeded
ctype
- A flag that indicates which style of push-style proxy
supplier instance should be created.
AdminLimitExceeded
- If the number
of consumers currently connected to the channel with which
the target ConsumerAdmin object associated exceeds the value of the
MaxConsumers administrative property.ProxySupplier obtain_notification_pull_supplier(ClientType ctype, IntHolder proxy_id) throws AdminLimitExceeded
This ConsumerAdmin implementation creates the new pull-style proxy supplier instance and assigns a numeric identifier to it that is unique among all proxy suppliers it has created.
ctype
- An input parameter a flag that indicates which style of
pull-style proxy supplier instance should be created.\proxy_id
- An output parameter of a numeric identifier uniquely
identifying proxy suppliers created by this implementation.
AdminLimitExceeded
- If the
number of consumers currently connected to the channel with which
the target ConsumerAdmin object is associated exceeds the value of
the MaxConsumers administrative property.ProxySupplier get_proxy_supplier(int proxy_id) throws ProxyNotFound
proxy_id
- The numeric unique identifier associated with one of
the proxy supplier objects that has been created by the target
ConsumerAdmin instance.
ProxyNotFound
- If the input
parameter does not correspond to any unique identifier of any proxy
supplier object that has been created by the target ConsumerAdmin instance.int[] push_suppliers()
int[] pull_suppliers()
MappingFilter lifetime_filter()
void lifetime_filter(MappingFilter arg0)
MappingFilter priority_filter()
void priority_filter(MappingFilter arg0)
InterFilterGroupOperator MyOperator()
EventChannel MyChannel()
int MyID()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |