Options
All
  • Public
  • Public/Protected
  • All
Menu

deprecated

use TCPAction instead, because its sends the request directly from the device

Hierarchy

  • TelnetAction

Implements

Constructors

constructor

Parameters

  • __namedParameters: object
    • command: string
    • host: string
    • name: string
    • port: number
    • wsAddress: string

Returns TelnetAction

Properties

__variant__

__variant__: string = "TelnetAction"

command

command: string

host

host: string

name

name: string

port

port: number

ws

ws: WebSocket

wsAddress

wsAddress: string

Methods

run

Returns Promise<ActionSuccess>

toJSON

  • toJSON(): object

Returns object

  • __variant__: string
  • command: string
  • host: string
  • name: string
  • port: number
  • wsAddress: string

Static fromJSON

Parameters

  • json: object
    • command: string
    • host: string
    • name: string
    • port: number
    • wsAddress: string

Returns TelnetAction

  • Inherited
  • Protected
  • Private
  • Static
  • Module
  • Object
  • Property
  • Function
  • Variable
  • Index
  • Type
  • Class
  • Interface
  • Enum
  • Constructor
  • Getter/Setter
Made with ❤️ by pirix-gh. Documentation generated by TypeDoc.