|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosEventChannelAdmin.ProxyPushConsumerPOA
org.jacorb.events.ProxyPushConsumerImpl
Implementation of COSEventChannelAdmin interface; ProxyPushConsumer. This defines connect_push_supplier(), disconnect_push_consumer() and the all important push() method that the Supplier can call to actuall deliver a message. 2002/23/08 JFC OMG EventService Specification 1.1 page 2-7 states: "Registration is a two step process. An event-generating application first obtains a proxy consumer from a channel, then 'connects' to the proxy consumer by providing it with a supplier. ... The reason for the two step registration process..." Modifications to support the above have been made as well as to support section 2.1.5 "Disconnection Behavior" on page 2-4.
Constructor Summary | |
---|---|
protected |
ProxyPushConsumerImpl(EventChannelImpl ec,
ORB orb,
POA poa)
Konstruktor - wird von EventChannel aufgerufen |
Method Summary | |
---|---|
POA |
_default_POA()
Override this method from the Servant baseclass. |
void |
connect_push_supplier(PushSupplier pushSupplier)
fuers ProxyPushConsumer Interface: As stated by the EventService specification 1.1 section 2.3.4: "If a ProxyPushConsumer is already connected to a PushSupplier, then the AlreadyConnected exception is raised." |
void |
disconnect_push_consumer()
fuers PushConsumer Interface: See EventService v 1.1 specification section 2.1.1. |
void |
push(Any event)
Supplier sends data to the consumer (this object) using this call. |
Methods inherited from class org.omg.CosEventChannelAdmin.ProxyPushConsumerPOA |
---|
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_get_delegate, _get_interface_def, _get_interface, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ProxyPushConsumerImpl(EventChannelImpl ec, ORB orb, POA poa)
Method Detail |
public void connect_push_supplier(PushSupplier pushSupplier) throws AlreadyConnected
AlreadyConnected
public void disconnect_push_consumer()
public void push(Any event) throws Disconnected
Disconnected
public POA _default_POA()
_default_POA
in class Servant
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |