org.jacorb.events
Class EventChannelImpl
public
class
EventChannelImpl
extends JacORBEventChannelPOA
Simple implementation of the event channel spec.
The event channel acts as a factory for proxy push/pull consumers/suppliers
and interacts with the implementation objects locally, i.e. using Java
references only.
Version: $Id: EventChannelImpl.java,v 1.10 2004/05/06 12:39:58 nicolas Exp $
Author: Joerg v. Frantzius, Rainer Lischetzki, Gerald Brose, Jeff Carlson
| Method Summary |
| void | destroy()
Destroy all objects which are managed by the POA. |
| ConsumerAdmin | for_consumers()
Return the consumerAdmin interface |
| SupplierAdmin | for_suppliers()
Return the supplierAdmin interface |
| static void | main(String[] args) |
| ProxyPullConsumer | obtain_pull_consumer()
Return a ProxyPullConsumer reference to be used to connect to a
PullSupplier. |
| ProxyPullSupplier | obtain_pull_supplier()
Return a ProxyPullSupplier reference to be used to connect to a
PullConsumer. |
| ProxyPushConsumer | obtain_push_consumer()
Return a ProxyPushConsumer reference to be used to connect to a
PushSupplier. |
| ProxyPushSupplier | obtain_push_supplier()
Return a ProxyPushSupplier reference to be used to connect to a
PushConsumer. |
| protected void | push_event(Any event)
Send event to all registered consumers. |
| POA | _default_POA()
Override this method from the Servant baseclass. |
public EventChannelImpl(ORB orb, POA poa)
EventChannel constructor.
public void destroy()
Destroy all objects which are managed by the POA.
public ConsumerAdmin for_consumers()
Return the consumerAdmin interface
public SupplierAdmin for_suppliers()
Return the supplierAdmin interface
public static void main(String[] args)
public ProxyPullConsumer obtain_pull_consumer()
Return a ProxyPullConsumer reference to be used to connect to a
PullSupplier.
public ProxyPullSupplier obtain_pull_supplier()
Return a ProxyPullSupplier reference to be used to connect to a
PullConsumer.
public ProxyPushConsumer obtain_push_consumer()
Return a ProxyPushConsumer reference to be used to connect to a
PushSupplier.
public ProxyPushSupplier obtain_push_supplier()
Return a ProxyPushSupplier reference to be used to connect to a
PushConsumer.
protected void push_event(Any event)
Send event to all registered consumers.
public POA _default_POA()
Override this method from the Servant baseclass. Fintan Bolton
in his book "Pure CORBA" suggests that you override this method to
avoid the risk that a servant object (like this one) could be
activated by the wrong POA object.