|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CosEventChannelAdmin.ProxyPullSupplierPOA
org.jacorb.events.ProxyPullSupplierImpl
public class ProxyPullSupplierImpl
Implementation of COSEventChannelAdmin interface; ProxyPullSupplier. This defines connect_pull_consumer(), disconnect_pull_supplier() and the all important pull() and try_pull() methods that the Consumer 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 |
ProxyPullSupplierImpl(EventChannelImpl ec,
org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA poa)
Constructor - to be called by EventChannel |
Method Summary | |
---|---|
org.omg.PortableServer.POA |
_default_POA()
Override this method from the Servant baseclass. |
void |
connect_pull_consumer(PullConsumer pullConsumer)
ProxyPullSupplier Interface: As stated by the EventService specification 1.1 section 2.3.5: "If a ProxyPullSupplier is already connected to a PullConsumer, then the AlreadyConnected exception is raised." and "If a non-nil reference is passed to connect_push_supplier..." implying that a null reference is acceptable. |
void |
disconnect_pull_supplier()
See EventService v 1.1 specification section 2.1.3. |
org.omg.CORBA.Any |
pull()
PullSupplier Interface. |
void |
push_to_supplier(org.omg.CORBA.Any event)
Have to be able to get to the internal list of events. |
org.omg.CORBA.Any |
try_pull(org.omg.CORBA.BooleanHolder hasEvent)
PullSupplier Interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ProxyPullSupplierImpl(EventChannelImpl ec, org.omg.CORBA.ORB orb, org.omg.PortableServer.POA poa)
Method Detail |
---|
public void connect_pull_consumer(PullConsumer pullConsumer) throws org.omg.CosEventChannelAdmin.AlreadyConnected
org.omg.CosEventChannelAdmin.AlreadyConnected
public void disconnect_pull_supplier()
public org.omg.CORBA.Any pull() throws org.omg.CosEventComm.Disconnected
org.omg.CosEventComm.Disconnected
public org.omg.CORBA.Any try_pull(org.omg.CORBA.BooleanHolder hasEvent) throws org.omg.CosEventComm.Disconnected
org.omg.CosEventComm.Disconnected
public void push_to_supplier(org.omg.CORBA.Any event)
public org.omg.PortableServer.POA _default_POA()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |