|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--org.omg.CORBA.portable.ObjectImpl
|
+--org.omg.CosNotifyChannelAdmin._StructuredProxyPullConsumerStub
The StructuredProxyPullConsumer interface supports connections to the channel by suppliers who will make events available for pulling to the channel as Structured Events. Through inheritance of the ProxyConsumer interface, the StructuredProxyPullConsumer interface supports administration of various QoS properties, administration of a list of associated filter objects, and a readonly attribute containing the reference of the SupplierAdmin object which created it. In addition, this inheritance implies that a StructuredProxyPullConsumer instance supports an operation which will return the list of event types which consumers connected to the same channel are interested in receiving, and an operation which can return information about the instance’s ability to accept a per-event QoS request. The StructuredProxyPullConsumer interface also inherits from the StructuredPullConsumer interface defined in the CosNotifyComm module. This interface supports the operation which can be invoked to close down the connection from the supplier to the StructuredProxyPullConsumer. In addition, since the StructuredPullConsumer interface inherits from the NotifyPublish interface, a supplier can inform the StructuredProxyPullConsumer to which it is connected whenever the list of event types it plans to supply to the channel changes. Lastly, the StructuredProxyPullConsumer interface defines a method that can be invoked by a pull-style supplier of Structured Events in order to establish a connection between the supplier and a notification channel over which the supplier will proceed to send events. The StructuredProxyPullConsumer interface also defines a pair of operations which can suspend and resume the connection between a StructuredProxyPullConsumer instance and its associated StructuredPullSupplier. During the time such a connection is suspended, the StructuredProxyPullConsumer will not attempt to pull events from its associated StructuredPullSupplier.
| Constructor Summary | |
_StructuredProxyPullConsumerStub()
|
|
| Method Summary | |
java.lang.String[] |
_ids()
|
int |
add_filter(Filter new_filter)
Operation add_filter |
void |
connect_structured_pull_supplier(StructuredPullSupplier pull_supplier)
Operation connect_structured_pull_supplier |
void |
disconnect_structured_pull_consumer()
Operation disconnect_structured_pull_consumer |
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 |
offer_change(EventType[] added,
EventType[] removed)
Operation offer_change |
void |
remove_all_filters()
Operation remove_all_filters |
void |
remove_filter(int filter)
Operation remove_filter |
void |
resume_connection()
Operation resume_connection |
void |
set_qos(Property[] qos)
Operation set_qos |
void |
suspend_connection()
Operation suspend_connection |
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 _StructuredProxyPullConsumerStub()
| Method Detail |
public java.lang.String[] _ids()
_ids in class org.omg.CORBA.portable.ObjectImpl
public void connect_structured_pull_supplier(StructuredPullSupplier pull_supplier)
throws AlreadyConnected,
TypeError
connect_structured_pull_supplier in interface StructuredProxyPullConsumerOperationsorg.omg.CosNotifyChannelAdmin.StructuredProxyPullConsumerOperationspush_supplier - Push supplier to connect to the proxyCosEventChannelAdmin::AlreadyConnected - The proxy is already connectedCosEventChannelAdmin::TypeError -
public void suspend_connection()
throws ConnectionAlreadyInactive,
NotConnected
suspend_connection in interface StructuredProxyPullConsumerOperationsorg.omg.CosNotifyChannelAdmin.StructuredProxyPullConsumerOperationsConnectionAlreadyInactive - Connection is already suspendedNotConnected - Proxy isn't connected
public void resume_connection()
throws ConnectionAlreadyActive,
NotConnected
resume_connection in interface StructuredProxyPullConsumerOperationsorg.omg.CosNotifyChannelAdmin.StructuredProxyPullConsumerOperationsConnectionAlreadyActive - Connection is already activeNotConnected - Proxy isn't connectedpublic ProxyType MyType()
MyType in interface ProxyConsumerOperationspublic SupplierAdmin MyAdmin()
MyAdmin in interface ProxyConsumerOperationspublic EventType[] obtain_subscription_types(ObtainInfoMode mode)
obtain_subscription_types in interface ProxyConsumerOperationsorg.omg.CosNotifyChannelAdmin.ProxyConsumerOperationsmode - Mode of recuperation
public void validate_event_qos(Property[] required_qos,
NamedPropertyRangeSeqHolder available_qos)
throws UnsupportedQoS
validate_event_qos in interface ProxyConsumerOperationsorg.omg.CosNotifyChannelAdmin.ProxyConsumerOperationsrequired_qos - available_qos - UnsupportedQoS - Qos Property was not supported in this implementationpublic Property[] get_qos()
get_qos in interface QoSAdminOperationsorg.omg.CosNotification.QoSAdminOperations
public void set_qos(Property[] qos)
throws UnsupportedQoS
set_qos in interface QoSAdminOperationsorg.omg.CosNotification.QoSAdminOperationsqos - QosProperties to assign to objectUnsupportedQoS -
public void validate_qos(Property[] required_qos,
NamedPropertyRangeSeqHolder available_qos)
throws UnsupportedQoS
validate_qos in interface QoSAdminOperationsorg.omg.CosNotification.QoSAdminOperationsrequired_qos - available_qos - UnsupportedQoS - public int add_filter(Filter new_filter)
add_filter in interface FilterAdminOperationsorg.omg.CosNotifyFilter.FilterAdminOperationsnew_filter - filter to add
public void remove_filter(int filter)
throws FilterNotFound
remove_filter in interface FilterAdminOperationsorg.omg.CosNotifyFilter.FilterAdminOperationsfilter - Id of the filterFilterNotFound - Id doesn't match to any filter
public Filter get_filter(int filter)
throws FilterNotFound
get_filter in interface FilterAdminOperationsorg.omg.CosNotifyFilter.FilterAdminOperationsfilter - Id of the filter to getFilterNotFound - Id doesn't match to any filterpublic int[] get_all_filters()
get_all_filters in interface FilterAdminOperationsorg.omg.CosNotifyFilter.FilterAdminOperationspublic void remove_all_filters()
remove_all_filters in interface FilterAdminOperationspublic void disconnect_structured_pull_consumer()
disconnect_structured_pull_consumer in interface StructuredPullConsumerOperations
public void offer_change(EventType[] added,
EventType[] removed)
throws InvalidEventType
offer_change in interface NotifyPublishOperations
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||