SupervisorCmdExecutor

org.eso.ias.supervisor.SupervisorCmdExecutor
See theSupervisorCmdExecutor companion object
class SupervisorCmdExecutor(tfIDs: List[String], dasus: Map[String, Dasu]) extends DefaultCommandExecutor

The executor of commands for the Supervisor.

The SupervisorCmdExecutor extends the DefaultCommandExecutor to customize the TF_CHANGED command.

Value parameters

tfIDs

The list of the TFs running in the ASCEs of the Supervisor

Attributes

Companion
object
Graph
Supertypes
class DefaultCommandExecutor
trait CommandListener
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def alarmAcknowledged(cmd: CommandMessage): CmdExecutionResult

A an Alarm has been acknowledged.

A an Alarm has been acknowledged.

This message is aimed to the DASU that produces such alarm (i.e. received by the Supervisor where the DASU is deployed) all the other tools can safely ignore the command.

This implementation does nothing and return OK.

Value parameters

cmd

The ACK command received from the command topic

Attributes

Returns

The result of the execution of the command

Definition Classes
DefaultCommandExecutor
override def tfChanged(cmd: CommandMessage): CmdExecutionResult

A TF has been changed.

A TF has been changed.

The Supervisor must restart if the changed TF is used by at least one of its ASCEs so that the new TF is reloaded.

Value parameters

cmd

The TF_CHANGED command received from the command topic

Attributes

Returns

The result of the execution of the command

Definition Classes
DefaultCommandExecutor

Inherited methods

final def newCommand(x$0: CommandMessage): CmdExecutionResult

Attributes

Inherited from:
DefaultCommandExecutor
def ping(x$0: CommandMessage): CmdExecutionResult

Attributes

Inherited from:
DefaultCommandExecutor
def restart(x$0: CommandMessage): CmdExecutionResult

Attributes

Inherited from:
DefaultCommandExecutor
def setLogLevel(x$0: CommandMessage): CmdExecutionResult

Attributes

Inherited from:
DefaultCommandExecutor
def shutdown(x$0: CommandMessage): CmdExecutionResult

Attributes

Inherited from:
DefaultCommandExecutor