Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AgentCommand

Hierarchy

  • AgentCommand

Index

Constructors

constructor

Properties

Context

Context: string = "all"

commands

commands: object

Type declaration

  • [key: string]: any

Methods

getContext

  • getContext(): string

handle

  • handle(argv: string, msg: any, rl: ReadLine, client: AdminClient): void
  • Parameters

    • argv: string
    • msg: any
    • rl: ReadLine
    • client: AdminClient

    Returns void

init

  • init(): void

kill

  • kill(rl: ReadLine, client: AdminClient): void
  • Parameters

    • rl: ReadLine
    • client: AdminClient

    Returns void

quit

  • quit(rl: ReadLine): void

setContext

  • setContext(context: string): void
  • Parameters

    • context: string

    Returns void