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 |