Options
All
  • Public
  • Public/Protected
  • All
Menu

pandora-hub

Index

Variables

BEHAVIOUR

BEHAVIOUR: symbol = Symbol()

HUB_SOCKET_NAME

HUB_SOCKET_NAME: "pandora_msg_hub" = "pandora_msg_hub"

OBJECT_ACTION_GET_PROPERTY

OBJECT_ACTION_GET_PROPERTY: "OBJECT_ACTION_GET_PROPERTY" = "OBJECT_ACTION_GET_PROPERTY"

OBJECT_ACTION_INTROSPECT

OBJECT_ACTION_INTROSPECT: "OBJECT_ACTION_INTROSPECT" = "OBJECT_ACTION_INTROSPECT"

OBJECT_ACTION_INVOKE

OBJECT_ACTION_INVOKE: "OBJECT_ACTION_INVOKE" = "OBJECT_ACTION_INVOKE"

OBJECT_ACTION_SUBSCRIBE

OBJECT_ACTION_SUBSCRIBE: "OBJECT_ACTION_SUBSCRIBE" = "OBJECT_ACTION_SUBSCRIBE"

OBJECT_ACTION_UNSUBSCRIBE

OBJECT_ACTION_UNSUBSCRIBE: "OBJECT_ACTION_UNSUBSCRIBE" = "OBJECT_ACTION_UNSUBSCRIBE"

OBJECT_CONSUMER

OBJECT_CONSUMER: symbol = Symbol()

PANDORA_HUB_ACTION_MSG_DOWN

PANDORA_HUB_ACTION_MSG_DOWN: "PANDORA_HUB_ACTION_MSG_DOWN" = "PANDORA_HUB_ACTION_MSG_DOWN"

PANDORA_HUB_ACTION_MSG_UP

PANDORA_HUB_ACTION_MSG_UP: "PANDORA_HUB_ACTION_MSG_UP" = "PANDORA_HUB_ACTION_MSG_UP"

PANDORA_HUB_ACTION_OFFLINE_UP

PANDORA_HUB_ACTION_OFFLINE_UP: "PANDORA_HUB_ACTION_OFFLINE_UP" = "PANDORA_HUB_ACTION_OFFLINE_UP"

PANDORA_HUB_ACTION_ONLINE_UP

PANDORA_HUB_ACTION_ONLINE_UP: "PANDORA_HUB_ACTION_ONLINE_UP" = "PANDORA_HUB_ACTION_ONLINE_UP"

PANDORA_HUB_ACTION_PUBLISH_UP

PANDORA_HUB_ACTION_PUBLISH_UP: "PANDORA_HUB_ACTION_PUBLISH_UP" = "PANDORA_HUB_ACTION_PUBLISH_UP"

PANDORA_HUB_ACTION_UNPUBLISH_UP

PANDORA_HUB_ACTION_UNPUBLISH_UP: "PANDORA_HUB_ACTION_UNPUBLISH_UP" = "PANDORA_HUB_ACTION_UNPUBLISH_UP"

PANDORA_HUB_CONFIG_MANAGER

PANDORA_HUB_CONFIG_MANAGER: "__PANDORA_HUB_CONFIG_MANAGER" = "__PANDORA_HUB_CONFIG_MANAGER"

SKIP_NAMES

SKIP_NAMES: string[] = ['subscribe', 'unsubscribe']

TIMEOUT_OF_RESPONSE

TIMEOUT_OF_RESPONSE: 5000 = 5000

hostWeakExtMap

hostWeakExtMap: WeakMap<any, any> = new WeakMap()

selectorSchema

selectorSchema: string[] = ['clientId','appName','processName','pid','objectName','tag']

Functions

getAllNames

  • getAllNames(obj: any): any[]

getSubscribeKeys

  • getSubscribeKeys(register: any): object

Object literals

DefaultObjectProxyBehaviour

DefaultObjectProxyBehaviour: object

host

host: object

getProperty

  • getProperty(host: any, name: string): any

introspect

invoke

  • invoke(host: any, method: string, params: any[]): any

subscribe

unsubscribe

proxy

proxy: object

getProperty

  • getProperty(proxy: any, consumer: ObjectConsumer, name: string): Promise<any>

invoke

  • invoke(proxy: any, consumer: ObjectConsumer, method: string, params: any[]): Promise<any>

subscribe

  • subscribe(proxy: any, consumer: ObjectConsumer, register: string, fn: any): Promise<any>

unsubscribe

  • unsubscribe(proxy: any, consumer: ObjectConsumer, register: string, fn?: any): Promise<any>