|
||||||||
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.ProxyPullSupplierPOA
org.openorb.event.ProxyPullSupplierImpl
public class ProxyPullSupplierImpl
A consumer requests event data from the supplier by invoking either the pull operation or the try_pull operation on the supplier.
Constructor Summary | |
---|---|
ProxyPullSupplierImpl(EventChannelImpl channel)
Constructor |
Method Summary | |
---|---|
void |
connect_pull_consumer(PullConsumer pullConsumer)
A nil object reference may be passed to the connect_pull_consumer operation; if so a channel cannot invoke a disconnect_pull_consumer operation on the consumer; the consumer may be disconnected from the channel without being informed. |
void |
disconnect_pull_supplier()
The disconnect_pull_supplier operation terminates the event communication; it releases resources used at the supplier to support the event communication. |
org.omg.CORBA.Any |
pull()
The pull operation blocks until the event data is available or an exception is raised. |
void |
pushEventToSupplier(org.omg.CORBA.Any any)
Passe l'evenement au consumer |
org.omg.CORBA.Any |
try_pull(org.omg.CORBA.BooleanHolder has_event)
The try_pull operation does not block: if the event data is available, it returns the event data and sets the has_event parameter to true; if the event is not available, it sets the has_event parameter to false and the event data is returned as long with an undefined value. |
Methods inherited from class org.omg.CosEventChannelAdmin.ProxyPullSupplierPOA |
---|
_all_interfaces, _invoke, _this, _this |
Methods inherited from class org.omg.PortableServer.Servant |
---|
_default_POA, _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 ProxyPullSupplierImpl(EventChannelImpl channel)
Method Detail |
---|
public void connect_pull_consumer(PullConsumer pullConsumer) throws AlreadyConnected
pullConsumer
- the pull consumer to connect
AlreadyConnected
- This exception is raised if the
supplier is already connectedpublic org.omg.CORBA.Any pull() throws Disconnected
Disconnected
- If the event communication has already
been disconnected, the Disconnected exception is raised.public org.omg.CORBA.Any try_pull(org.omg.CORBA.BooleanHolder has_event) throws Disconnected
has_event
- true if the event is available, flase otherwise
Disconnected
- If the event communication has already been disconnected, the
Disconnected exception is raised.public void disconnect_pull_supplier()
public void pushEventToSupplier(org.omg.CORBA.Any any)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |