Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RPCControllerFactory

Hierarchy

Index

Constructors

Properties

credential: any
deviceConfigs: ConnectorDevice[]
deviceaddress: string
devices: null | { id: string; type: string }[] = null
rpc: RPCProvider
ws: WebSocket

Methods

  • authenticate(): Promise<void>
  • errorPing(): Promise<void>
  • getAuthConfigurator(targetId: string): RPCAuthConfigurator
  • getDevices(): { id: string; type: string }[]
  • getNetTester(targetId: string): NetTester
  • getProfileManager(targetId: string): RPCProfileManager
  • getRouteConfigurator(targetId: string): RPCRouteConfigurator
  • getSwitchQoS(targetId: string): RPCSwitchQoS
  • getTrafficStatMonitor(targetId: string): RPCTrafficStatMonitor
  • getVPNConfigurator(targetId: string): RPCVPNConfigurator
  • init(): Promise<void>
  • ping(): Promise<void>
  • refreshAuth(): Promise<void>
  • updateCredential(cred: any): void
  • updateDevices(devices: ConnectorDevice[]): Promise<boolean>
  • Update available devices in Mareel Key

    Parameters

    • devices: ConnectorDevice[]

      Update device with credential

    Returns Promise<boolean>

    • true if daemon restart is required, false if not

Generated using TypeDoc