SenderTest

org.eso.ias.sink.test.SenderTest
class SenderTest extends Sender

Sender mockup

Attributes

Graph
Supertypes
trait Sender
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

class Digest(val recipient: String, val alarmStates: List[AlarmStateTracker])

The type of the digest to send

The type of the digest to send

Attributes

Supertypes
class Object
trait Matchable
class Any
class Notification(val recipients: List[String], val alarmId: String, val alarmState: AlarmSnapshot)

The type of notification to send

The type of notification to send

Attributes

Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

override def digestNotify(recipient: String, alarmStates: List[AlarmStateTracker]): Unit

Notify the recipients of the state changes of the passed alarms

Notify the recipients of the state changes of the passed alarms

Value parameters

alarmStates

the states of the alarms to notify

recipient

the recipient to notify

Attributes

Definition Classes
override def notify(recipients: List[String], alarmId: String, alarmState: AlarmSnapshot): Unit

Send the notification to notify that an alarm has been set or cleared

Send the notification to notify that an alarm has been set or cleared

Value parameters

alarmId

the ID of the alarm

alarmState

the state to notify

recipients

the recipients to notify

Attributes

Definition Classes

Concrete fields

val countDownLatch: CountDownLatch

The semaphore to detect to periodic notification

The semaphore to detect to periodic notification

Attributes

val digests: ListBuffer[Digest]

The digests sent

The digests sent

Attributes

val notifications: ListBuffer[Notification]

The notifications sent

The notifications sent

Attributes