|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CosEventChannelAdmin.ProxyPullConsumerPOA
org.jacorb.events.ProxyPullConsumerImpl
public class ProxyPullConsumerImpl
Implementation of COSEventChannelAdmin interface; ProxyPullConsumer. This defines connect_pull_supplier() and disconnect_pull_consumer(). 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 |
ProxyPullConsumerImpl(EventChannelImpl ec,
org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA poa)
Constructor - gets called by the EventChannel |
Method Summary | |
---|---|
org.omg.PortableServer.POA |
_default_POA()
Override this method from the Servant baseclass. |
void |
connect_pull_supplier(org.omg.CosEventComm.PullSupplier pullSupplier)
ProxyPullConsumer Interface: As stated by the EventService specification 1.1 section 2.3.6: "If a ProxyPullSupplier is already connected to a PullConsumer, then the AlreadyConnected exception is raised." and "Implementations shall raise the CORBA standard BAD_PARAM exception if a nil object reference is passed to the connect_pull_supplier operation. |
void |
disconnect_pull_consumer()
See EventService v 1.1 specification section 2.1.4. |
void |
run()
Start being a good PullConsumer and ask for loads of events. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ProxyPullConsumerImpl(EventChannelImpl ec, org.omg.CORBA.ORB orb, org.omg.PortableServer.POA poa)
Method Detail |
---|
public void connect_pull_supplier(org.omg.CosEventComm.PullSupplier pullSupplier) throws org.omg.CosEventChannelAdmin.AlreadyConnected, org.omg.CosEventChannelAdmin.TypeError
org.omg.CosEventChannelAdmin.AlreadyConnected
org.omg.CosEventChannelAdmin.TypeError
public void disconnect_pull_consumer()
public void run()
run
in interface java.lang.Runnable
public org.omg.PortableServer.POA _default_POA()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |