Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions

alma.acs.eventbrowser.model.EventModel Class Reference

List of all members.

Public Member Functions

Logger getLogger ()
ArrayList< NotifyServiceDatagetNotifyServiceTotals () throws AcsJException
ArrayList< ChannelDatagetChannelStatistics ()
String[] getCorbaServices ()
ContainerServices getContainerServices ()
void refreshChannelSubscriptions ()
AdminConsumer getAdminConsumer (String channelName) throws AcsJException
HashMap< String, AdminConsumergetAllSelectedConsumers ()
void addChannelSubscription (String channelName)
void subscribeToAllChannels ()
void getArchiveConsumer ()
synchronized void closeSelectedConsumer (String channelName, boolean deselect)
synchronized void closeAllConsumers ()
void closeArchiveConsumer ()
void tearDown ()
boolean isSubscribed (String channelName)

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

Detailed Description

Author:
jschwarz
Id:
EventModel.java,v 1.33 2011/11/15 16:13:55 jschwarz Exp

Member Function Documentation

void alma.acs.eventbrowser.model.EventModel.addChannelSubscription ( String  channelName  ) 
synchronized void alma.acs.eventbrowser.model.EventModel.closeAllConsumers (  ) 
void alma.acs.eventbrowser.model.EventModel.closeArchiveConsumer (  ) 
synchronized void alma.acs.eventbrowser.model.EventModel.closeSelectedConsumer ( String  channelName,
boolean  deselect 
)
AdminConsumer alma.acs.eventbrowser.model.EventModel.getAdminConsumer ( String  channelName  )  throws AcsJException
HashMap<String,AdminConsumer> alma.acs.eventbrowser.model.EventModel.getAllSelectedConsumers (  ) 

The intention here is to return an array list of all consumers whose events the user wants to monitor in the EventListView. "channelMap" indicates what channels are live; "subscribedChannels" lists all channel that are to be (are being) monitored.

Returns:
all consumers so selected

References alma.acs.util.StopWatch.logLapTime().

void alma.acs.eventbrowser.model.EventModel.getArchiveConsumer (  ) 
ArrayList<ChannelData> alma.acs.eventbrowser.model.EventModel.getChannelStatistics (  ) 
ContainerServices alma.acs.eventbrowser.model.EventModel.getContainerServices (  ) 
String [] alma.acs.eventbrowser.model.EventModel.getCorbaServices (  ) 
static DynAnyFactory alma.acs.eventbrowser.model.EventModel.getDynAnyFactory (  )  [static]
static synchronized EventModel alma.acs.eventbrowser.model.EventModel.getInstance (  )  throws Exception [static]
Logger alma.acs.eventbrowser.model.EventModel.getLogger (  ) 
EventChannel alma.acs.eventbrowser.model.EventModel.getNotificationChannel ( String  channelName,
String  channelKind 
) throws AcsJException [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.
ArrayList<NotifyServiceData> alma.acs.eventbrowser.model.EventModel.getNotifyServiceTotals (  )  throws AcsJException
boolean alma.acs.eventbrowser.model.EventModel.isSubscribed ( String  channelName  ) 
void alma.acs.eventbrowser.model.EventModel.refreshChannelSubscriptions (  ) 
void alma.acs.eventbrowser.model.EventModel.subscribeToAllChannels (  ) 
void alma.acs.eventbrowser.model.EventModel.tearDown (  ) 

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties