|
||||||||
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.ProxyPushConsumerPOA
org.omg.CosNotifyChannelAdmin.ProxyPushConsumerPOATie
public class ProxyPushConsumerPOATie
The ProxyPushConsumer interface supports connections to the channel by suppliers who will push events to the channel as untyped Anys. Through inheritance of the ProxyConsumer interface, the ProxyPushConsumer 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 ProxyPushConsumer 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 ProxyPushConsumer interface also inherits from the PushConsumer interface defined within the CosNotifyComm module. This interface supports the push operation which the supplier connected to a ProxyPushConsumer instance will invoke to send an event to the channel in the form of an Any, and the operation required to disconnect the ProxyPushConsumer from its associated supplier. In addition, since the inherited PushConsumer interface inherits the CosNotifyComm::NotifyPublish interface, a supplier connected to an instance supporting the ProxyPushConsumer interface can inform it whenever the list of event types the supplier plans to supply changes. Finally, the ProxyPushConsumer interface defines the operation which can be invoked by a push supplier to establish the connection over which the push supplier will send events to the channel. Note that this can be either a pure event service style, or a notification service style push supplier.
Constructor Summary | |
---|---|
ProxyPushConsumerPOATie(ProxyPushConsumerOperations tieObject)
Constructor |
|
ProxyPushConsumerPOATie(ProxyPushConsumerOperations tieObject,
org.omg.PortableServer.POA poa)
Constructor |
Method Summary | |
---|---|
org.omg.PortableServer.POA |
_default_POA()
_default_POA method |
ProxyPushConsumerOperations |
_delegate()
Get the delegate |
void |
_delegate(ProxyPushConsumerOperations delegate_)
Set the delegate |
int |
add_filter(Filter new_filter)
Operation add_filter |
void |
connect_any_push_supplier(PushSupplier push_supplier)
Operation connect_any_push_supplier |
void |
disconnect_push_consumer()
Operation disconnect_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(org.omg.CORBA.Any data)
Operation push |
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.CosNotifyChannelAdmin.ProxyPushConsumerPOA |
---|
_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 ProxyPushConsumerPOATie(ProxyPushConsumerOperations tieObject)
public ProxyPushConsumerPOATie(ProxyPushConsumerOperations tieObject, org.omg.PortableServer.POA poa)
Method Detail |
---|
public ProxyPushConsumerOperations _delegate()
public void _delegate(ProxyPushConsumerOperations delegate_)
public org.omg.PortableServer.POA _default_POA()
_default_POA
in class org.omg.PortableServer.Servant
public void connect_any_push_supplier(PushSupplier push_supplier) throws AlreadyConnected
AlreadyConnected
public ProxyType MyType()
public SupplierAdmin MyAdmin()
public EventType[] obtain_subscription_types(ObtainInfoMode mode)
mode
- Mode of recuperation
public void validate_event_qos(Property[] required_qos, NamedPropertyRangeSeqHolder available_qos) throws UnsupportedQoS
UnsupportedQoS
- Qos Property was not 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 offer_change(EventType[] added, EventType[] removed) throws InvalidEventType
InvalidEventType
public void push(org.omg.CORBA.Any data) throws Disconnected
Disconnected
public void disconnect_push_consumer()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |