|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
org.omg.CosNotifyChannelAdmin._ProxyConsumerStub
public class _ProxyConsumerStub
The ProxyConsumer interface is intended to be an abstract interface that is inherited by the different varieties of proxy consumers that can be instantiated within a notification channel. It encapsulates the behaviors common to all Notification Service proxy consumers. In particular, the ProxyConsumer interface inherits the QoSAdmin interface defined within the CosNotification module, and the FilterAdmin interface defined within the CosNotifyFilter module. The former inheritance enables all proxy consumers to administer a list of associated QoS properties, while the latter inheritance enables all proxy consumers to administer a list of associated filter objects. Locally, the ProxyConsumer interface defines a readonly attribute that should be set upon creation of each proxy consumer instance to indicate the specific type of proxy consumer the instance represents, and a readonly attribute which maintains a reference to the SupplierAdmin object that created it. In addition, the ProxyConsumer interface defines an operation that returns the list of event types a given proxy consumer instance is configured to forward, and an operation which can be queried to determine which message level QoS properties can be set on a per-event basis.
Constructor Summary | |
---|---|
_ProxyConsumerStub()
|
Method Summary | |
---|---|
java.lang.String[] |
_ids()
|
int |
add_filter(Filter new_filter)
Operation add_filter |
int[] |
get_all_filters()
Operation get_all_filters |
Filter |
get_filter(int filter)
Operation get_filter |
Property[] |
get_qos()
Operation get_qos |
SupplierAdmin |
MyAdmin()
Read accessor for MyAdmin attribute |
ProxyType |
MyType()
Read accessor for MyType attribute |
EventType[] |
obtain_subscription_types(ObtainInfoMode mode)
Operation obtain_subscription_types |
void |
remove_all_filters()
Operation remove_all_filters |
void |
remove_filter(int filter)
Operation remove_filter |
void |
set_qos(Property[] qos)
Operation set_qos |
void |
validate_event_qos(Property[] required_qos,
NamedPropertyRangeSeqHolder available_qos)
Operation validate_event_qos |
void |
validate_qos(Property[] required_qos,
NamedPropertyRangeSeqHolder available_qos)
Operation validate_qos |
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
---|
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
---|
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Constructor Detail |
---|
public _ProxyConsumerStub()
Method Detail |
---|
public java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl
public ProxyType MyType()
MyType
in interface ProxyConsumerOperations
public SupplierAdmin MyAdmin()
MyAdmin
in interface ProxyConsumerOperations
public EventType[] obtain_subscription_types(ObtainInfoMode mode)
obtain_subscription_types
in interface ProxyConsumerOperations
mode
- Mode of recuperation
public void validate_event_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos) throws UnsupportedQoS
validate_event_qos
in interface ProxyConsumerOperations
UnsupportedQoS
- Qos Property was not supported in this implementationpublic Property[] get_qos()
get_qos
in interface QoSAdminOperations
public void set_qos(Property[] qos) throws UnsupportedQoS
set_qos
in interface QoSAdminOperations
qos
- QosProperties to assign to object
UnsupportedQoS
public void validate_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos) throws UnsupportedQoS
validate_qos
in interface QoSAdminOperations
UnsupportedQoS
public int add_filter(Filter new_filter)
add_filter
in interface FilterAdminOperations
new_filter
- filter to add
public void remove_filter(int filter) throws FilterNotFound
remove_filter
in interface FilterAdminOperations
filter
- Id of the filter
FilterNotFound
- Id doesn't match to any filterpublic Filter get_filter(int filter) throws FilterNotFound
get_filter
in interface FilterAdminOperations
filter
- Id of the filter to get
FilterNotFound
- Id doesn't match to any filterpublic int[] get_all_filters()
get_all_filters
in interface FilterAdminOperations
public void remove_all_filters()
remove_all_filters
in interface FilterAdminOperations
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |