|
||||||||
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._SequenceProxyPushConsumerStub
public class _SequenceProxyPushConsumerStub
The SequenceProxyPushConsumer interface supports connections to the channel by suppliers who will push events to the channel as sequences of Structured Events. Through inheritance of the ProxyConsumer interface, the SequenceProxyPushConsumer 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 SequenceProxyPushConsumer 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 SequenceProxyPushConsumer interface also inherits from the SequencePushConsumer interface defined in the CosNotifyComm module. This interface supports the operation which enables a supplier of sequences of Structured Events to push them to the SequenceProxyPushConumer, and also the operation which can be invoked to close down the connection from the supplier to the SequenceProxyPushConsumer. In addition, since the SequencePushConsumer interface inherits from the NotifyPublish interface, a supplier can inform the SequenceProxyPushConsumer to which it is connected whenever the list of event types it plans to supply to the channel changes. Lastly, the SequenceProxyPushConsumer interface defines a method that can be invoked by a push-style supplier of sequences 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.
Constructor Summary | |
---|---|
_SequenceProxyPushConsumerStub()
|
Method Summary | |
---|---|
java.lang.String[] |
_ids()
|
int |
add_filter(Filter new_filter)
Operation add_filter |
void |
connect_sequence_push_supplier(SequencePushSupplier push_supplier)
Operation connect_sequence_push_supplier |
void |
disconnect_sequence_push_consumer()
Operation disconnect_sequence_push_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 |
push_structured_events(StructuredEvent[] notifications)
Operation push_structured_events |
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 |
Constructor Detail |
---|
public _SequenceProxyPushConsumerStub()
Method Detail |
---|
public java.lang.String[] _ids()
_ids
in class org.omg.CORBA.portable.ObjectImpl
public void connect_sequence_push_supplier(SequencePushSupplier push_supplier) throws AlreadyConnected
connect_sequence_push_supplier
in interface SequenceProxyPushConsumerOperations
push_supplier
- Push supplier to connect to the proxy
AlreadyConnected
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
public void push_structured_events(StructuredEvent[] notifications) throws Disconnected
push_structured_events
in interface SequencePushConsumerOperations
Disconnected
public void disconnect_sequence_push_consumer()
disconnect_sequence_push_consumer
in interface SequencePushConsumerOperations
public void offer_change(EventType[] added, EventType[] removed) throws InvalidEventType
offer_change
in interface NotifyPublishOperations
InvalidEventType
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |