Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MasterWatcherModule

Hierarchy

  • MasterWatcherModule

Implements

  • IModule

Index

Constructors

constructor

Properties

app

id

id: string

service

service: ConsoleService

watchdog

watchdog: Watchdog

Static moduleId

moduleId: KEYWORDS = Constants.KEYWORDS.MASTER_WATCHER

Methods

masterHandler

  • masterHandler(agent: MasterAgent, msg: any, cb: MasterCallback): void

onServerAdd

  • onServerAdd(record: any): void

onServerLeave

  • onServerLeave(id: string, type: string): void

onServerReconnect

  • onServerReconnect(record: any): void

start

  • start(cb: function): void