|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.PortableServer.Servant
org.omg.CosNotifyChannelAdmin.EventChannelFactoryPOA
org.openorb.notify.impl.EventChannelFactoryImpl
public class EventChannelFactoryImpl
The EventChannelFactory interface defines operations for creating and managing new Notification Service style event channels. It supports a routine that creates new instances of Notification Service event channels and assigns unique numeric identifiers to them. In addition, the EventChannelFactory interface supports a routine which can return the unique identifiers assigned to all event channels created by a given instance of EventChannelFactory, and another routine which, given the unique identifier of an event channel created by a target EventChannelFactory instance, returns the object reference of that event channel.
Field Summary | |
---|---|
static int |
MAX_PERFORMANCE_POLICY
Defines a policy to max performance |
static int |
MAX_RESOURCE_POLICY
Defines a policy to max resource |
Constructor Summary | |
---|---|
EventChannelFactoryImpl(org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA poa,
PropertiesRepository propertiesRepository,
Logger logger)
Default constructor. |
Method Summary | |
---|---|
void |
channelDestroyed(int id)
This method is invoked when an EventChannel was destroyed. |
void |
channelRecovered(int id,
EventChannelImpl channel)
This method is invoked when an EventChannel was destroyed. |
EventChannel |
create_channel(Property[] initial_qos,
Property[] initial_admin,
org.omg.CORBA.IntHolder id)
The create_channel operation is invoked to create a new instance of the Notification Service style event channel. |
int[] |
get_all_channels()
The get_all_channels operation returns a sequence of all of the unique numeric identifiers corresponding to Notification Service event channels which have been created by the target object. |
EventChannel |
get_event_channel(int id)
The get_event_channel operation accepts as input a numeric value which is supposed to be the unique identifier of a Notification Service event channel that has been created by the target object. |
FilterFactoryImpl |
getFilterFactory()
This method returns the filter factory |
org.omg.PortableServer.POA |
getPOA()
|
java.lang.Object |
getProperty(java.lang.String key)
Method invoked to get the value of a property defined in the notification module |
boolean |
isConsumerAdminMaxPerformance()
The methods returns true if the consumer admin threads should be configured as MaxPerformance |
boolean |
isConsumerProxyMaxPerformance()
The methods returns true if the supplier proxy threads should be configured as MaxPerformance |
boolean |
isQueueMaxPerformance()
The methods returns true if the event queue should be configured as MaxPerformance |
boolean |
isSupplierAdminMaxPerformance()
The methods returns true if the supplier admin threads should be configured as MaxPerformance |
boolean |
isSupplierProxyMaxPerformance()
The methods returns true if the consumer proxy threads should be configured as MaxPerformance |
void |
recoveryFinished()
This method is invoked when all the EventChannels were recovered. |
Methods inherited from class org.omg.CosNotifyChannelAdmin.EventChannelFactoryPOA |
---|
_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 |
Field Detail |
---|
public static final int MAX_PERFORMANCE_POLICY
public static final int MAX_RESOURCE_POLICY
Constructor Detail |
---|
public EventChannelFactoryImpl(org.omg.CORBA.ORB orb, org.omg.PortableServer.POA poa, PropertiesRepository propertiesRepository, Logger logger)
Method Detail |
---|
public org.omg.PortableServer.POA getPOA()
public EventChannel create_channel(Property[] initial_qos, Property[] initial_admin, org.omg.CORBA.IntHolder id) throws UnsupportedQoS, UnsupportedAdmin
create_channel
in interface EventChannelFactoryOperations
UnsupportedQoS
UnsupportedAdmin
public int[] get_all_channels()
get_all_channels
in interface EventChannelFactoryOperations
public EventChannel get_event_channel(int id) throws ChannelNotFound
get_event_channel
in interface EventChannelFactoryOperations
ChannelNotFound
public FilterFactoryImpl getFilterFactory()
getFilterFactory
in interface ChannelFactoryManagement
public void channelRecovered(int id, EventChannelImpl channel)
channelRecovered
in interface ChannelFactoryManagement
public void recoveryFinished()
recoveryFinished
in interface ChannelFactoryManagement
public void channelDestroyed(int id)
channelDestroyed
in interface ChannelFactoryManagement
public java.lang.Object getProperty(java.lang.String key)
public boolean isQueueMaxPerformance()
isQueueMaxPerformance
in interface ChannelFactoryManagement
public boolean isSupplierAdminMaxPerformance()
isSupplierAdminMaxPerformance
in interface ChannelFactoryManagement
public boolean isConsumerAdminMaxPerformance()
isConsumerAdminMaxPerformance
in interface ChannelFactoryManagement
public boolean isSupplierProxyMaxPerformance()
isSupplierProxyMaxPerformance
in interface ChannelFactoryManagement
public boolean isConsumerProxyMaxPerformance()
isConsumerProxyMaxPerformance
in interface ChannelFactoryManagement
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |