Class RFB

Index

Constructor methods

Methods

Constructor methods

constructor(defaults: any): RFB

Parameters

  • defaults: any

Returns

RFB

Methods

public clipboardPasteFrom(text: string)

Parameters

  • text: string

public connect(host: string, port: number, password: string, path: string)

Parameters

  • host: string
  • port: number
  • password: string
  • path: string

public disconnect()

public get_display(): Display

Returns

Display

public get_keyboard(): Keyboard

Returns

Keyboard

public get_mouse(): Mouse

Returns

Mouse

public sendCtrlAltDel()

public sendKey(code: number, down: boolean)

Parameters

  • code: number
  • down: boolean

public sendPassword(passwd: string)

Parameters

  • passwd: string

public set_local_cursor(cursor: any)

Parameters

  • cursor: any

public testMode(override_send: (arr: any[]) => boolean, data_mode: string)

Parameters

  • override_send: (arr: any[]) => boolean
  • data_mode: string