|
VisiBroker for Java |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProxyConsumerOperations
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 | |
---|---|
SupplierAdmin |
MyAdmin()
The MyAdmin attribute is a readonly attribute that should be set upon creation of each proxy consumer instance to maintain the reference of the instance supporting the SupplierAdmin interface that created it. |
ProxyType |
MyType()
The MyType attribute is 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. |
EventType[] |
obtain_subscription_types(ObtainInfoMode mode)
The obtain_subscription_types operation returns a list of event type names. |
void |
validate_event_qos(Property[] required_qos,
org.omg.CosNotification.NamedPropertyRangeSeqHolder available_qos)
This operation is essentially a check to see if the target proxy object will honor the setting of a set of QoS properties on a per-event basis to values that may conflict with those set on the proxy itself. |
Methods inherited from interface org.omg.CosNotification.QoSAdminOperations |
---|
get_qos, set_qos, validate_qos |
Methods inherited from interface org.omg.CosNotifyFilter.FilterAdminOperations |
---|
add_filter, get_all_filters, get_filter, remove_all_filters, remove_filter |
Method Detail |
---|
void validate_event_qos(Property[] required_qos, org.omg.CosNotification.NamedPropertyRangeSeqHolder available_qos) throws UnsupportedQoS
required_qos
- A sequence of QoS property name-value pairs, which
specify a set of QoS settings that a client is interested in
setting on a per-event basis.available_qos
- An output parameter that contains a sequence of
PropertyRange data structures, whose each element includes the name
of an additional QoS property, whose setting is supported by the
target object on a perevent basis and which could have been included
on the input list while still resulting in a successful return from
the operation.
Each element also includes the range of values that would have been
acceptable for each such property.
UnsupportedQoS
- If any of the requested
settings would not be honored by the target object on a per-event
basis, in which case, this exception contains as data a sequence
of data structures, each of which identifies the name of a QoS
property in the input list whose requested setting could not be
satisfied, along with an error code and a range of settings for
the property which could be satisfied.EventType[] obtain_subscription_types(ObtainInfoMode mode)
mode
- The ObtainInfoMode flag that enables synchronization between
the subscription information obtain through these automatic updates
and that obtained through invocation of obtain_subscription_types,
for all possible enumeration values for this, please see
ObtainInfoMode
.
SupplierAdmin MyAdmin()
ProxyType MyType()
ProxyType
.
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |