Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RemoteComponent

Remote component class

param

current application context

param

construct parameters

Hierarchy

  • RemoteComponent

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Private app

name

name: string = "__remote__"

opts

remote

remote: Gateway

Methods

genRemote

getRemotePaths

  • getRemotePaths(): RemoteServerCode[]

start

  • start(cb: function): void
  • Remote component lifecycle function

    Parameters

    • cb: function
        • (): void
        • Returns void

    Returns void

stop

  • stop(force: boolean, cb: function): void
  • Remote component lifecycle function

    Parameters

    • force: boolean

      whether stop the component immediately

    • cb: function
        • (): void
        • Returns void

    Returns void