Appearance
Home > resol-vbus-core-nodejs > NetLiveTransceiverEndpoint
NetLiveTransceiverEndpoint class
A TCP socket based endpoint for the NetLiveTransceiver
.
Signature:
typescript
export declare class NetLiveTransceiverEndpoint
Constructors
Constructor | Modifiers | Description |
---|---|---|
Construct a TCP socket based live transceiver endpoint. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
NetLiveTransceiverBridge | null | The bridge. | ||
() => Promise<void> | (Optional) The callback to verify switching to data mode. | ||
number | (Optional) The provided VBus channel. | ||
() => Promise<NetLiveTransceiverEndpointChannelInfo[]> | (Optional) The callback to get a list of active channels. | ||
(line: string) => Promise<string> | (Optional) The callback to handle unknown commands. | ||
string | The response after accepting a new connection. | ||
The live transceiver. | |||
string | (Optional) The provided password. | ||
boolean | Whether the transceiver should skip the command phase and directly go into data mode. | ||
net.Socket | null | The current socket. | ||
(channel: number) => Promise<void> | (Optional) The callback to verify the provided channel. | ||
(password: string) => Promise<void> | (Optional) The callback to verify the provided password. | ||
(viaTag: string) => Promise<void> | (Optional) The callback to verify the provided via tag. | ||
string | (Optional) The provided via tag. |
Methods
Method | Modifiers | Description |
---|---|---|
Connect to the live VBus stream, optionally performing the VBus-over-TCP handshake. | ||
Disconnect from the live VBus stream. |