EngineProtocol
Hierarchy
-
↳
EngineProtocol
Table of contents
Constructors
Properties
Methods
Constructors
constructor
new EngineProtocol(protocol, uid)
Parameters
| Name | Type |
|---|---|
protocol | ConnectivityProtocol |
uid | string |
Overrides
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
off
off(event, handler): any
Parameters
| Name | Type |
|---|---|
event | string |
handler | any |
Returns
any
Inherited from
on
on(event, handler): any
Parameters
| Name | Type |
|---|---|
event | string |
handler | any |
Returns
any
Inherited from
send
send(data, params): void
Setup the protocol
Parameters
| Name | Type |
|---|---|
data | any |
params | any |
Returns
void