ConnectionImpl
@icure/medical-device-sdk / ConnectionImpl
Class: ConnectionImpl
Implements​
Table of contents​
Constructors​
Properties​
Methods​
Constructors​
constructor​
• new ConnectionImpl(rs
)
Parameters​
Name | Type |
---|---|
rs | WebSocketWrapper |
Defined in​
Properties​
connectionStatus​
• connectionStatus: ConnectionStatus
Defined in​
wsw​
• wsw: WebSocketWrapper
Defined in​
Methods​
close​
â–¸ close(): void
Returns​
void
Implementation of​
Defined in​
onClosed​
â–¸ onClosed(callback
): Connection
Parameters​
Name | Type |
---|---|
callback | () => void |
Returns​
Implementation of​
Defined in​
onConnected​
â–¸ onConnected(callback
): Connection
Parameters​
Name | Type |
---|---|
callback | () => void |
Returns​
Implementation of​
Defined in​
onError​
â–¸ onError(callback
): Connection
Parameters​
Name | Type |
---|---|
callback | (e? : Error ) => void |