|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosNotifyChannelAdmin.ProxyPullSupplierPOA
org.omg.CosNotifyChannelAdmin.ProxyPullSupplierPOATie
public class ProxyPullSupplierPOATie
The ProxyPullSupplier interface supports connections to the channel by consumers who will pull events from the channel as untyped Anys. Through inheritance of the ProxySupplier interface, the ProxyPullSupplier interface supports administration of various QoS properties, administration of a list of associated filter objects, mapping filters for event priority and lifetime, and a readonly attribute containing the reference of the ConsumerAdmin object which created it. In addition, this inheritance implies that a ProxyPullSupplier 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 ProxyPullSupplier interface also inherits from the PullSupplier interface defined within the CosNotifyComm module. This interface supports the pull and try_pull operations which the consumer connected to a ProxyPullSupplier instance will invoke to receive an event from the channel in the form of an Any, and the operation required to disconnect the ProxyPullSupplier from its associated consumer. In addition, since the inherited PullSupplier interface inherits the CosNotifyComm::NotifySubscribe interface, an instance supporting the ProxyPullSupplier interface can be informed whenever the list of event types that the consumer connected to it is interested in receiving changes. Finally, the ProxyPullSupplier interface defines the operation which can be invoked by a pull consumer to establish the connection over which the pull consumer will receive events from the channel. Note that this can be either a pure event service style, or a notification service style pull consumer.
Constructor Summary | |
---|---|
ProxyPullSupplierPOATie(ProxyPullSupplierOperations tieObject)
Constructor |
|
ProxyPullSupplierPOATie(ProxyPullSupplierOperations tieObject,
org.omg.PortableServer.POA poa)
Constructor |
Method Summary | |
---|---|
org.omg.PortableServer.POA |
_default_POA()
_default_POA method |
ProxyPullSupplierOperations |
_delegate()
Get the delegate |
void |
_delegate(ProxyPullSupplierOperations delegate_)
Set the delegate |
int |
add_filter(Filter new_filter)
Operation add_filter |
void |
connect_any_pull_consumer(PullConsumer pull_consumer)
Operation connect_any_pull_consumer |
void |
disconnect_pull_supplier()
Operation disconnect_pull_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 |
org.omg.CORBA.Any |
pull()
Operation pull |
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 |
subscription_change(EventType[] added,
EventType[] removed)
Operation subscription_change |
org.omg.CORBA.Any |
try_pull(org.omg.CORBA.BooleanHolder has_event)
Operation try_pull |
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.CosNotifyChannelAdmin.ProxyPullSupplierPOA |
---|
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProxyPullSupplierPOATie(ProxyPullSupplierOperations tieObject)
public ProxyPullSupplierPOATie(ProxyPullSupplierOperations tieObject, org.omg.PortableServer.POA poa)
Method Detail |
---|
public ProxyPullSupplierOperations _delegate()
public void _delegate(ProxyPullSupplierOperations delegate_)
public org.omg.PortableServer.POA _default_POA()
_default_POA
in class org.omg.PortableServer.Servant
public void connect_any_pull_consumer(PullConsumer pull_consumer) throws AlreadyConnected
pull_consumer
- Push consumer to connect to the proxy
AlreadyConnected
public ProxyType MyType()
public ConsumerAdmin MyAdmin()
public MappingFilter priority_filter()
public void priority_filter(MappingFilter value)
public MappingFilter lifetime_filter()
public void lifetime_filter(MappingFilter value)
public EventType[] obtain_offered_types(ObtainInfoMode mode)
mode
- Mode of recuperation
public void validate_event_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos) throws UnsupportedQoS
UnsupportedQoS
- A Qos Properties isn't supported in this implementationpublic Property[] get_qos()
public void set_qos(Property[] qos) throws UnsupportedQoS
qos
- QosProperties to assign to object
UnsupportedQoS
public void validate_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos) throws UnsupportedQoS
UnsupportedQoS
public int add_filter(Filter new_filter)
new_filter
- filter to add
public void remove_filter(int filter) throws FilterNotFound
filter
- Id of the filter
FilterNotFound
- Id doesn't match to any filterpublic Filter get_filter(int filter) throws FilterNotFound
filter
- Id of the filter to get
FilterNotFound
- Id doesn't match to any filterpublic int[] get_all_filters()
public void remove_all_filters()
public void subscription_change(EventType[] added, EventType[] removed) throws InvalidEventType
InvalidEventType
public org.omg.CORBA.Any pull() throws Disconnected
Disconnected
public org.omg.CORBA.Any try_pull(org.omg.CORBA.BooleanHolder has_event) throws Disconnected
Disconnected
public void disconnect_pull_supplier()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |