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 ()
void refreshChannelSubscriptions ()
AdminConsumer getAdminConsumer (String channelName) throws AcsJException
ArrayList< AdminConsumergetAllConsumers ()
void closeAllConsumers ()

Static Public Member Functions

static synchronized EventModel getInstance () throws Exception
static DynAnyFactory getDynAnyFactory ()

Static Public Attributes

static 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
HashMap< String, int[]> lastConsumerAndSupplierCount
ArrayList< AdminConsumerconsumers
ArrayList< AdminConsumerreadyConsumers
HashMap< String, AdminConsumerconsumerMap
NotificationServiceMonitorControl nsmc

Static Private Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

void alma::acs::eventbrowser::model::EventModel::closeAllConsumers (  )  [inline]
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]

Referenced by EventModel().

ContainerServices alma::acs::eventbrowser::model::EventModel::getContainerServices (  )  [inline]
static DynAnyFactory alma::acs::eventbrowser::model::EventModel::getDynAnyFactory (  )  [inline, static]
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]
void alma::acs::eventbrowser::model::EventModel::refreshChannelSubscriptions (  )  [inline]

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]
DynAnyFactory alma::acs::eventbrowser::model::EventModel::dynAnyFactory = null [static, private]
final String alma::acs::eventbrowser::model::EventModel::eventGuiId = "eventGUI" [static, private]

Referenced by EventModel().

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

Referenced by EventModel().

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

The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2