Skip to main content

ConnectionImpl

@icure/medical-device-sdk / ConnectionImpl

Class: ConnectionImpl

Implements​

Table of contents​

Constructors​

Properties​

Methods​

Constructors​

constructor​

• new ConnectionImpl(rs)

Parameters​

NameType
rsWebSocketWrapper

Defined in​

src/models/Connection.ts:14

Properties​

connectionStatus​

• connectionStatus: ConnectionStatus

Defined in​

src/models/Connection.ts:12


wsw​

• wsw: WebSocketWrapper

Defined in​

src/models/Connection.ts:11

Methods​

close​

â–¸ close(): void

Returns​

void

Implementation of​

Connection.close

Defined in​

src/models/Connection.ts:19


onClosed​

â–¸ onClosed(callback): Connection

Parameters​

NameType
callback() => void

Returns​

Connection

Implementation of​

Connection.onClosed

Defined in​

src/models/Connection.ts:31


onConnected​

â–¸ onConnected(callback): Connection

Parameters​

NameType
callback() => void

Returns​

Connection

Implementation of​

Connection.onConnected

Defined in​

src/models/Connection.ts:23


onError​

â–¸ onError(callback): Connection

Parameters​

NameType
callback(e?: Error) => void

Returns​

Connection

Implementation of​

Connection.onError

Defined in​

src/models/Connection.ts:39