Properties
Private
#lock
Private
#socket
Private
#txId
#txId: number = 0
device
Methods
close
- close(): void
-
Returns void
readMessage
- readMessage<T>(expect: T, span: Span): Promise<Message<T>>
-
Returns Promise<Message<T>>
writeMessage
- writeMessage(message: Message<MessageType>, span: Span): Promise<void>
-
Returns Promise<void>
Manages a connection to a single device