Home Manual Reference Source
import {ReceivedSignalInfo} from 'ievv_jsbase/SignalHandlerSingleton.js'
public class | source

ReceivedSignalInfo

Represents information about the received signal.

An object of this class is sent to the callback of all signal receivers.

The data sent by the signal is available in ReceivedSignalInfo.data.

Constructor Summary

Public Constructor
public

constructor(data: *, signalName: *, receiverName: *)

Member Summary

Public Members
public

data: *

The data sent by SignalHandlerSingleton#send.

public

The receiver name.

public

The signal name.

Method Summary

Public Methods
public

logDebugInfo(prefix: string)

Log debug information about the received signal.

Public Constructors

public constructor(data: *, signalName: *, receiverName: *) source

Params:

NameTypeAttributeDescription
data *
signalName *
receiverName *

Public Members

public data: * source

The data sent by SignalHandlerSingleton#send.

public receiverName: string source

The receiver name.

public signalName: string source

The signal name.

Public Methods

public logDebugInfo(prefix: string) source

Log debug information about the received signal.

Params:

NameTypeAttributeDescription
prefix string

An optional prefix for the log message.