Home Reference Source Test
import ReporterObject from 'runtime-core/src/syncher/ReporterObject.js'
public class | source

ReporterObject

Constructor Summary

Public Constructor
public

constructor(parent: *, owner: *, url: *)

Member Summary

Public Members
public set

Method Summary

Public Methods
public

addChildrens(childrens: string[]): Promise

Register listeners for a list of childrens.

public

delete()

public

Register a listener in the msg-node and in the local MessageBus, so that messages on this address are forwarded to the reporter object

public

UnRegister a listener in the msg-node and in the local MessageBus, so that messages on this address are removed from forward

public

resumeSubscriptions(subscriptions: *)

Public Constructors

public constructor(parent: *, owner: *, url: *) source

Params:

NameTypeAttributeDescription
parent *
owner *
url *

Public Members

public set isToSaveData: * source

Public Methods

public addChildrens(childrens: string[]): Promise source

Register listeners for a list of childrens. Public channels used to transmit messages.

Params:

NameTypeAttributeDescription
childrens string[]

channels to register

Return:

Promise

Return Promise OK or error

public delete() source

public forwardSubscribe(address: string): Promise source

Register a listener in the msg-node and in the local MessageBus, so that messages on this address are forwarded to the reporter object

Params:

NameTypeAttributeDescription
address string

URL to register the listeners

Return:

Promise

Return Promise OK or error

public forwardUnSubscribe(address: string) source

UnRegister a listener in the msg-node and in the local MessageBus, so that messages on this address are removed from forward

Params:

NameTypeAttributeDescription
address string

URL to un-register the listeners

public resumeSubscriptions(subscriptions: *) source

Params:

NameTypeAttributeDescription
subscriptions *