Class MotionMasterReqResWorkerSocket

Hierarchy

  • MotionMasterReqResWorkerSocket

Implements

Constructors

Properties

_pingSystemInterval?: number
_systemAliveTimeout?: number
_url?: string
alive$: BehaviorSubject<boolean> = ...

Motion Master is considered alive when it sends messages in regular time interval.

close$: Subject<{
    code: number;
    reason: string;
}> = ...

Emits close events with code and reason data.

Link

https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/close_event

message$: Subject<IMotionMasterMessage> = ...

Decoded message instances coming from Motion Master.

opened$: BehaviorSubject<boolean> = ...

Emits a boolean value when socket gets opened or closed.

worker: Worker

Accessors

Methods

Generated using TypeDoc