Skip to main content

EngineProtocol

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new EngineProtocol(protocol, uid)

Parameters

NameType
protocolConnectivityProtocol
uidstring

Overrides

EventEmitter.constructor

Properties

protocol

Readonly protocol: ConnectivityProtocol


uid

Readonly uid: string

Methods

close

close(): void

Close the input and event handler

Returns

void


connector

connector(): ProtocolController

Returns

ProtocolController


off

off(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

EventEmitter.off


on

on(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

EventEmitter.on


send

send(data, params): void

Setup the protocol

Parameters

NameType
dataany
paramsany

Returns

void