Skip to main content

Class: DcpHEvents

HEvents for the DCP

Constructors

constructor

new DcpHEvents(): DcpHEvents

Returns

DcpHEvents

Methods

mapHEventToDcpEvent

mapHEventToDcpEvent(hEvent): undefined | DcpEvent

Maps an H event to an DcpEvent

Parameters

NameTypeDescription
hEventstringthe raw H event string

Returns

undefined | DcpEvent

DcpEvent the mapped event

Throws

if the event is invalid or unmapped

Defined in

workingtitle-instruments-wt21/shared/DCP/DcpHEvents.ts:42