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

cern::laser::client::services::selection::AlarmSelectionHandler Class Reference

List of all members.

Public Member Functions

abstract Selection createSelection ()
abstract Map select (Selection selection, AlarmSelectionListener listener) throws LaserException, LaserTimeOutException
abstract void resetSelection () throws LaserException
abstract void close () throws LaserException
abstract void search (Selection selection, int nbOfRows, AlarmSearchListener searchListener) throws LaserException, LaserTimeOutException

Static Public Member Functions

AlarmSelectionHandler get () throws LaserConnectionException, LaserException

Static Private Attributes

final Logger LOGGER = Logger.getLogger(AlarmSelectionHandler.class.getName())
final ThreadLocal alarmSelectionHandler = new ThreadLocal()

Detailed Description

Provides the services to define and perform an alarm selection.

Author:
F.Calderini
See also:
cern.laser.client.services.browsing.AlarmBrowsingHandler

cern.laser.client.services.browsing.CategoryBrowsingHandler

cern.laser.client.services.reduction.AlarmReductionHandler


Member Function Documentation

abstract void cern::laser::client::services::selection::AlarmSelectionHandler::close  )  throws LaserException [pure virtual]
 

Close and deallocate resources.

Exceptions:
LaserException if the system is unable to close properly

abstract Selection cern::laser::client::services::selection::AlarmSelectionHandler::createSelection  )  [pure virtual]
 

Creates a new selection

Returns:
the selection instance

AlarmSelectionHandler cern::laser::client::services::selection::AlarmSelectionHandler::get  )  throws LaserConnectionException, LaserException [inline, static]
 

Factory method.

Returns:
an instance of the implementation class
Exceptions:
LaserException if the request can not be served

abstract void cern::laser::client::services::selection::AlarmSelectionHandler::resetSelection  )  throws LaserException [pure virtual]
 

Reset the selection.

Exceptions:
LaserException if the system is unable to reset the selection

abstract void cern::laser::client::services::selection::AlarmSelectionHandler::search Selection  selection,
int  nbOfRows,
AlarmSearchListener  searchListener
throws LaserException, LaserTimeOutException [pure virtual]
 

Starts the asynchronous alarm search. The found alarms will be asynchronously received.

Parameters:
selection the alarm selection instance
nbOfRows the number of rows to return
searchListener the search listener instance
Exceptions:
LaserConnectionException if the client cannot connect to the BL
LaserTimeOutException if the selection times out
LaserException if the system is unable to perform the selection

abstract Map cern::laser::client::services::selection::AlarmSelectionHandler::select Selection  selection,
AlarmSelectionListener  listener
throws LaserException, LaserTimeOutException [pure virtual]
 

Starts the asynchronous alarm selection. The selected alarms which are currently active will be asynchronously received as well as any change that may occur to their status.

Parameters:
selection the alarm selection instance
listener the selection listener instance
Returns:
the selected alarms currently active
Exceptions:
LaserConnectionException if the client cannot connect to the BL
LaserTimeOutException if the selection times out
LaserException if the system is unable to perform the selection


Member Data Documentation

final ThreadLocal cern::laser::client::services::selection::AlarmSelectionHandler::alarmSelectionHandler = new ThreadLocal() [static, private]
 

final Logger cern::laser::client::services::selection::AlarmSelectionHandler::LOGGER = Logger.getLogger(AlarmSelectionHandler.class.getName()) [static, private]
 


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