Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::eventbrowser::model::EventModel Class Reference

Collaboration diagram for alma::acs::eventbrowser::model::EventModel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Logger getLogger ()
ArrayList< ChannelDatagetServiceTotals ()
ArrayList< ChannelDatagetChannelStatistics ()
String[] getServices ()
ContainerServices getContainerServices ()
AdminConsumer getAdminConsumer (String channelName) throws AcsJException
ArrayList< AdminConsumergetAllConsumers ()

Static Public Member Functions

synchronized EventModel getInstance () throws Exception
DynAnyFactory getDynAnyFactory ()

Static Public Attributes

final int MAX_NUMBER_OF_CHANNELS = 100

Protected Member Functions

EventChannel getNotificationChannel (String channelName, String channelKind) throws AcsJException

Private Member Functions

 EventModel () throws Exception
String getConnectionString (String managerHost, int acsInstance)
void printMonitoringResults (NotificationServiceMonitorControl mc)

Private Attributes

final ORB orb
final Logger m_logger
final AdvancedComponentClient compClient
final ContainerServices cs
final Helper h
final NamingContext nctx
final AcsManagerProxy mproxy
final EventChannelFactory nsvc
final EventChannelFactory lsvc
final EventChannelFactory alsvc
final EventChannelFactory arsvc
HashMap< String, EventChannel > channelMap
ArrayList< AdminConsumerconsumers
HashMap< String, AdminConsumerconsumerMap
NotificationServiceMonitorControl nsmc

Static Private Attributes

final String eventGuiId = "eventGUI"
EventModel modelInstance
DynAnyFactory dynAnyFactory = null

Constructor & Destructor Documentation

alma::acs::eventbrowser::model::EventModel::EventModel  )  throws Exception [inline, private]
 


Member Function Documentation

AdminConsumer alma::acs::eventbrowser::model::EventModel::getAdminConsumer String  channelName  )  throws AcsJException [inline]
 

ArrayList<AdminConsumer> alma::acs::eventbrowser::model::EventModel::getAllConsumers  )  [inline]
 

ArrayList<ChannelData> alma::acs::eventbrowser::model::EventModel::getChannelStatistics  )  [inline]
 

String alma::acs::eventbrowser::model::EventModel::getConnectionString String  managerHost,
int  acsInstance
[inline, private]
 

ContainerServices alma::acs::eventbrowser::model::EventModel::getContainerServices  )  [inline]
 

DynAnyFactory alma::acs::eventbrowser::model::EventModel::getDynAnyFactory  )  [inline, static]
 

synchronized EventModel alma::acs::eventbrowser::model::EventModel::getInstance  )  throws Exception [inline, static]
 

Logger alma::acs::eventbrowser::model::EventModel::getLogger  )  [inline]
 

EventChannel alma::acs::eventbrowser::model::EventModel::getNotificationChannel String  channelName,
String  channelKind
throws AcsJException [inline, protected]
 

This method gets a reference to the event channel. If it is not already registered with the naming service, it is created.

Returns:
Reference to the event channel specified by channelName.
Parameters:
channelName Name of the event channel registered with the CORBA Naming Service
channelKind Kind of the channel as registered with the CORBA naming service. COMMENTED OUT:
notifyFactoryName Name of the notification service as registered with the CORBA naming service.
Exceptions:
AcsJException Standard ACS Java exception.

String [] alma::acs::eventbrowser::model::EventModel::getServices  )  [inline]
 

ArrayList<ChannelData> alma::acs::eventbrowser::model::EventModel::getServiceTotals  )  [inline]
 

void alma::acs::eventbrowser::model::EventModel::printMonitoringResults NotificationServiceMonitorControl  mc  )  [inline, private]
 


Member Data Documentation

final EventChannelFactory alma::acs::eventbrowser::model::EventModel::alsvc [private]
 

final EventChannelFactory alma::acs::eventbrowser::model::EventModel::arsvc [private]
 

HashMap<String, EventChannel> alma::acs::eventbrowser::model::EventModel::channelMap [private]
 

final AdvancedComponentClient alma::acs::eventbrowser::model::EventModel::compClient [private]
 

HashMap<String, AdminConsumer> alma::acs::eventbrowser::model::EventModel::consumerMap [private]
 

ArrayList<AdminConsumer> alma::acs::eventbrowser::model::EventModel::consumers [private]
 

final ContainerServices alma::acs::eventbrowser::model::EventModel::cs [private]
 

DynAnyFactory alma::acs::eventbrowser::model::EventModel::dynAnyFactory = null [static, private]
 

final String alma::acs::eventbrowser::model::EventModel::eventGuiId = "eventGUI" [static, private]
 

final Helper alma::acs::eventbrowser::model::EventModel::h [private]
 

final EventChannelFactory alma::acs::eventbrowser::model::EventModel::lsvc [private]
 

final Logger alma::acs::eventbrowser::model::EventModel::m_logger [private]
 

final int alma::acs::eventbrowser::model::EventModel::MAX_NUMBER_OF_CHANNELS = 100 [static]
 

EventModel alma::acs::eventbrowser::model::EventModel::modelInstance [static, private]
 

final AcsManagerProxy alma::acs::eventbrowser::model::EventModel::mproxy [private]
 

final NamingContext alma::acs::eventbrowser::model::EventModel::nctx [private]
 

NotificationServiceMonitorControl alma::acs::eventbrowser::model::EventModel::nsmc [private]
 

final EventChannelFactory alma::acs::eventbrowser::model::EventModel::nsvc [private]
 

final ORB alma::acs::eventbrowser::model::EventModel::orb [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:52:37 2009 for ACS Java API by doxygen 1.3.8