org.omg.CosNotifyChannelAdmin

Class _ProxyConsumerStub

public class _ProxyConsumerStub extends ObjectImpl implements ProxyConsumer

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.
Method Summary
intadd_filter(Filter new_filter)
Operation add_filter
int[]get_all_filters()
Operation get_all_filters
Filterget_filter(int filter)
Operation get_filter
Property[]get_qos()
Operation get_qos
SupplierAdminMyAdmin()
Read accessor for MyAdmin attribute
ProxyTypeMyType()
Read accessor for MyType attribute
EventType[]obtain_subscription_types(ObtainInfoMode mode)
Operation obtain_subscription_types
voidremove_all_filters()
Operation remove_all_filters
voidremove_filter(int filter)
Operation remove_filter
voidset_qos(Property[] qos)
Operation set_qos
voidvalidate_event_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos)
Operation validate_event_qos
voidvalidate_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos)
Operation validate_qos
String[]_ids()

Method Detail

add_filter

public int add_filter(Filter new_filter)
Operation add_filter

get_all_filters

public int[] get_all_filters()
Operation get_all_filters

get_filter

public Filter get_filter(int filter)
Operation get_filter

get_qos

public Property[] get_qos()
Operation get_qos

MyAdmin

public SupplierAdmin MyAdmin()
Read accessor for MyAdmin attribute

Returns: the attribute value

MyType

public ProxyType MyType()
Read accessor for MyType attribute

Returns: the attribute value

obtain_subscription_types

public EventType[] obtain_subscription_types(ObtainInfoMode mode)
Operation obtain_subscription_types

remove_all_filters

public void remove_all_filters()
Operation remove_all_filters

remove_filter

public void remove_filter(int filter)
Operation remove_filter

set_qos

public void set_qos(Property[] qos)
Operation set_qos

validate_event_qos

public void validate_event_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos)
Operation validate_event_qos

validate_qos

public void validate_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos)
Operation validate_qos

_ids

public String[] _ids()