Public Member Functions | Protected Member Functions

cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy Class Reference

Inheritance diagram for cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy:
cern.laser.source.alarmsysteminterface.AlarmSystemInterface cern.laser.util.buffer.SynchroBufferListener cern.cmw.mom.pubsub.ExceptionListener alma.acs.alarmsystem.binding.ACSLaserSource

List of all members.

Public Member Functions

 AlarmSystemInterfaceProxy (String sourceName) throws ASIException
void setSourceName (String newSourceName)
String getSourceName ()
void close ()
void onException (MOMException e)
void pull (PullEvent event) throws PullException
void push (FaultState state) throws ASIException
void push (Collection states) throws ASIException
void pushActiveList (Collection active) throws ASIException

Protected Member Functions

void finalize () throws Throwable

Detailed Description

This class is the implementation of the interface between an alarm source and the alarm system. It provides the functionality defined in the interface AlarmSystemInterface.

Author:
fracalde
Version:
1.0

Constructor & Destructor Documentation


Member Function Documentation

void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.close (  ) 
void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.finalize (  )  throws Throwable [protected]

Properly close all the resources.

Exceptions:
Throwable a Throwable exception

References cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.close().

String cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.getSourceName (  ) 

Get the source name.

Returns:
the source name.
void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.onException ( MOMException  e  ) 

The exception handler called in case of communication exception

Parameters:
e the MOMException caught

Implements cern.cmw.mom.pubsub.ExceptionListener.

References cern.cmw.mom.pubsub.MOMException.testException().

void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.pull ( PullEvent  event  )  throws PullException

Implement the SysnchroBufferListener interface.

Parameters:
event the alarm message collection pulled from the buffer
Exceptions:
PullException if the messages can not be published
void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.push ( Collection  states  )  throws ASIException

Push an fault states collection.

Parameters:
states the fault states collection to push

References cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.push().

void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.push ( FaultState  state  )  throws ASIException

Push a fault state.

Parameters:
state the fault state to push

References cern.laser.util.buffer.SynchroBuffer.push().

Referenced by cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.push().

void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.pushActiveList ( Collection  active  )  throws ASIException

Push the source active list forcing a backup

Parameters:
active the source active list
void cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.setSourceName ( String  newSourceName  ) 

Set the source name.

Parameters:
newSourceName the source name.

Referenced by cern.laser.source.alarmsysteminterface.impl.AlarmSystemInterfaceProxy.AlarmSystemInterfaceProxy().


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