|
||||||||
| 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._StructuredProxyPushSupplierStub
public class _StructuredProxyPushSupplierStub
The StructuredProxyPushSupplier interface supports connections to the channel by consumers who will receive events from the channel as Structured Events. Through inheritance of the ProxySupplier interface, the StructuredProxyPushSupplier interface supports administration of various QoS properties, administration of a list of associated filter objects, and a readonly attribute containing the reference of the ConsumerAdmin object which created it. In addition, this inheritance implies that a StructuredProxyPushSupplier instance supports an operation which will return the list of event types which the proxy supplier will potentially by supplying, and an operation which can return information about the instance?s ability to accept a per-event QoS request. The StructuredProxyPushSupplier interface also inherits from the StructuredPushSupplier interface defined in the CosNotifyComm module. This interface supports the operation which can be invoked to close down the connection from the consumer to the StructuredProxyPushSupplier. In addition, since the StructuredPushSupplier interface inherits from the NotifySubscribe interface, a StructuredProxyPushSupplier can be notified whenever the list of event types which its associated consumer is interested in receiving changes. This notification occurs via the callback mechanism described in section 2.3. Lastly, the StructuredProxyPushSupplier interface defines the operation which can be invoked by a push consumer to establish the connection over which the push consumer will receive events from the channel. The StructuredProxyPushSupplier interface also defines a pair of operations which can suspend and resume the connection between a StructuredProxyPushSupplier instance and its associated StructuredPushConsumer. During the time such a connection is suspended, the StructuredProxyPushSupplier will accumulate events destined for the consumer but not transmit them until the connection is resumed.
| Constructor Summary | |
|---|---|
_StructuredProxyPushSupplierStub()
|
|
| Method Summary | |
|---|---|
java.lang.String[] |
_ids()
|
int |
add_filter(Filter new_filter)
Operation add_filter |
void |
connect_structured_push_consumer(StructuredPushConsumer push_consumer)
Operation connect_structured_push_consumer |
void |
disconnect_structured_push_supplier()
Operation disconnect_structured_push_supplier |
int[] |
get_all_filters()
Operation get_all_filters |
Filter |
get_filter(int filter)
Operation get_filter |
Property[] |
get_qos()
Operation get_qos |
MappingFilter |
lifetime_filter()
Read accessor for lifetime_filter attribute |
void |
lifetime_filter(MappingFilter value)
Write accessor for lifetime_filter attribute |
ConsumerAdmin |
MyAdmin()
Read accessor for MyAdmin attribute |
ProxyType |
MyType()
Read accessor for MyType attribute |
EventType[] |
obtain_offered_types(ObtainInfoMode mode)
Operation obtain_offered_types |
MappingFilter |
priority_filter()
Read accessor for priority_filter attribute |
void |
priority_filter(MappingFilter value)
Write accessor for priority_filter attribute |
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 |
subscription_change(EventType[] added,
EventType[] removed)
Operation subscription_change |
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 |
| Constructor Detail |
|---|
public _StructuredProxyPushSupplierStub()
| Method Detail |
|---|
public java.lang.String[] _ids()
_ids in class org.omg.CORBA.portable.ObjectImpl
public void connect_structured_push_consumer(StructuredPushConsumer push_consumer)
throws AlreadyConnected,
TypeError
connect_structured_push_consumer in interface StructuredProxyPushSupplierOperationsAlreadyConnected
TypeError
public void suspend_connection()
throws ConnectionAlreadyInactive,
NotConnected
suspend_connection in interface StructuredProxyPushSupplierOperationsConnectionAlreadyInactive
NotConnected
public void resume_connection()
throws ConnectionAlreadyActive,
NotConnected
resume_connection in interface StructuredProxyPushSupplierOperationsConnectionAlreadyActive
NotConnectedpublic ProxyType MyType()
MyType in interface ProxySupplierOperationspublic ConsumerAdmin MyAdmin()
MyAdmin in interface ProxySupplierOperationspublic MappingFilter priority_filter()
priority_filter in interface ProxySupplierOperationspublic void priority_filter(MappingFilter value)
priority_filter in interface ProxySupplierOperationsvalue - the attribute valuepublic MappingFilter lifetime_filter()
lifetime_filter in interface ProxySupplierOperationspublic void lifetime_filter(MappingFilter value)
lifetime_filter in interface ProxySupplierOperationsvalue - the attribute valuepublic EventType[] obtain_offered_types(ObtainInfoMode mode)
obtain_offered_types in interface ProxySupplierOperationsmode - Mode of recuperation
public void validate_event_qos(Property[] required_qos,
NamedPropertyRangeSeqHolder available_qos)
throws UnsupportedQoS
validate_event_qos in interface ProxySupplierOperationsUnsupportedQoS - A Qos Properties isn't supported in this implementationpublic Property[] get_qos()
get_qos in interface QoSAdminOperations
public void set_qos(Property[] qos)
throws UnsupportedQoS
set_qos in interface QoSAdminOperationsqos - QosProperties to assign to object
UnsupportedQoS
public void validate_qos(Property[] required_qos,
NamedPropertyRangeSeqHolder available_qos)
throws UnsupportedQoS
validate_qos in interface QoSAdminOperationsUnsupportedQoSpublic int add_filter(Filter new_filter)
add_filter in interface FilterAdminOperationsnew_filter - filter to add
public void remove_filter(int filter)
throws FilterNotFound
remove_filter in interface FilterAdminOperationsfilter - Id of the filter
FilterNotFound - Id doesn't match to any filter
public Filter get_filter(int filter)
throws FilterNotFound
get_filter in interface FilterAdminOperationsfilter - Id of the filter to get
FilterNotFound - Id doesn't match to any filterpublic int[] get_all_filters()
get_all_filters in interface FilterAdminOperationspublic void remove_all_filters()
remove_all_filters in interface FilterAdminOperationspublic void disconnect_structured_push_supplier()
disconnect_structured_push_supplier in interface StructuredPushSupplierOperations
public void subscription_change(EventType[] added,
EventType[] removed)
throws InvalidEventType
subscription_change in interface NotifySubscribeOperationsInvalidEventType
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||