|
||||||||
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.openorb.event.ProxyPushConsumerImpl
public class ProxyPushConsumerImpl
The ProxyPushConsumer interface defines the second step for connecting push suppliers to the event channel.
Constructor Summary | |
---|---|
ProxyPushConsumerImpl(EventChannelImpl channel)
Constructor |
Method Summary | |
---|---|
void |
connect_push_supplier(PushSupplier pushSupplier)
A nil object reference may be passed to the connect_push_supplier operation; if so a channel cannot invoke the disconnect_push_supplier operation on the supplier; the supplier may be disconnected from the channel without being informed. |
void |
disconnect_push_consumer()
The disconnect_push_consumer operation terminates the event communication; it releases resources used at the consumer to support the event communication. |
void |
push(org.omg.CORBA.Any event)
A supplier communicates event data to the consumer by invoking the push operation and passing the event data as a parameter. |
Methods inherited from class org.omg.CosEventChannelAdmin.ProxyPushConsumerPOA |
---|
_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 ProxyPushConsumerImpl(EventChannelImpl channel)
Method Detail |
---|
public void connect_push_supplier(PushSupplier pushSupplier) throws AlreadyConnected
pushSupplier
- the push supplier to connect
AlreadyConnected
- If the ProxyPushConsumer is already connected to a PushSupplier, then the
AlreadyConnected exception is raised.public void push(org.omg.CORBA.Any event) throws Disconnected
event
- The event data to pass to consumers.
Disconnected
- If the event communication has already been
disconnected, the Disconnected exception is raised.public void disconnect_push_consumer()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |