|
||||||||
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.EventChannelPOA
org.openorb.event.EventChannelImpl
public class EventChannelImpl
The EventChannel interface defines three administrative operations: adding consumers, adding suppliers, and destroying the channel. Any object that possesses an object reference that supports the EventChannel interface can perform these operations: - The ConsumerAdmin interface allows consumers to be connected to the event channel. The for_consumers operation returns an object reference that supports the ConsumerAdmin interface. - The SupplierAdmin interface allows suppliers to be connected to the event channel. The for_suppliers operation returns an object reference that supports the SupplierAdmin interface. - The destroy operation destroys the event channel. Consumer administration and supplier administration are defined as separate objects so that the creator of the channel can control the addition of suppliers and consumers. For example, a creator might wish to be the sole supplier of event data but allow many consumers to be connected to the channel. In such a case, the creator would simply export the ConsumerAdmin object.
Constructor Summary | |
---|---|
EventChannelImpl(org.omg.CORBA.ORB orb,
java.lang.String name)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
channelName()
Return the channel name. |
void |
destroy()
The destroy operation destroys the event channel. |
ConsumerAdmin |
for_consumers()
The ConsumerAdmin interface allows consumers to be connected to the event channel. |
SupplierAdmin |
for_suppliers()
The SupplierAdmin interface allows suppliers to be connected to the event channel. |
Methods inherited from class org.omg.CosEventChannelAdmin.EventChannelPOA |
---|
_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 EventChannelImpl(org.omg.CORBA.ORB orb, java.lang.String name)
Method Detail |
---|
public ConsumerAdmin for_consumers()
public SupplierAdmin for_suppliers()
public void destroy()
public java.lang.String channelName()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |