cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl Class Reference

Inheritance diagram for cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl:
Inheritance graph
[legend]
Collaboration diagram for cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

void finalize () throws Throwable

Private Member Functions

Map subscribe (Selection selection, AlarmSelectionListener selectionListener) throws LaserException
void startHeartbeatSubscription (AlarmSelectionListener heartbeatListener) throws LaserException, LaserConnectionException

Private Attributes

HeartbeatHelper heartbeatHelper
AlarmSelectionHelper alarmSelectionHelper
AlarmSearchHelper alarmSearchHelper

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(AlarmSelectionHandlerImpl.class.getName())

Detailed Description

DOCUMENT ME!

Author:
$author$
Version:
Revision
1.4

Member Function Documentation

void cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::close (  )  throws LaserException [inline, virtual]

Creates a new AlarmSelectionHandlerImpl object.

Exceptions:
LaserException 
LaserException DOCUMENT ME! DOCUMENT ME!
LaserException DOCUMENT ME!

Implements cern::laser::client::services::selection::AlarmSelectionHandler.

References resetSelection().

Referenced by finalize().

Selection cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::createSelection (  )  [inline, virtual]

returns a new selection

Returns:
the selection instance

Implements cern::laser::client::services::selection::AlarmSelectionHandler.

void cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::finalize (  )  throws Throwable [inline, protected]

References close().

void cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::resetSelection (  )  throws LaserException [inline, virtual]
void cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::search ( Selection  selection,
int  nbOfRows,
AlarmSearchListener  searchListener 
) throws LaserException, LaserTimeOutException [inline, 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

Implements cern::laser::client::services::selection::AlarmSelectionHandler.

References alarmSearchHelper, and cern::laser::client::impl::services::selection::AlarmSearchHelper::search().

Map cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::select ( Selection  selection,
AlarmSelectionListener  selectionListener 
) throws LaserException, LaserTimeOutException [inline, virtual]

DOCUMENT ME!

Parameters:
selection DOCUMENT ME!
listener DOCUMENT ME!
Returns:
DOCUMENT ME!
Exceptions:
LaserConnectionException 
LaserException DOCUMENT ME!
LaserException 
LaserTimeOutException 
LaserConnectionException 
IllegalArgumentException DOCUMENT ME!

Implements cern::laser::client::services::selection::AlarmSelectionHandler.

References resetSelection(), startHeartbeatSubscription(), and subscribe().

void cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::startHeartbeatSubscription ( AlarmSelectionListener  heartbeatListener  )  throws LaserException, LaserConnectionException [inline, private]
Map cern::laser::client::impl::services::selection::AlarmSelectionHandlerImpl::subscribe ( Selection  selection,
AlarmSelectionListener  selectionListener 
) throws LaserException [inline, private]

Member Data Documentation

Referenced by search().

Referenced by resetSelection(), and subscribe().

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

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

Generated by  doxygen 1.6.2