Reference Source
public class | source

TopologySvcProvider

Extends:

js/services/base/socketio_service_provider.js~SocketIOServiceProvider → TopologySvcProvider

Topology service provider class.

Constructor Summary

Public Constructor
public

constructor(arg_provider_name: string, arg_service_instance: Service, arg_context: string): nothing

Create a Topology service provider.

Method Summary

Public Methods
public

process(arg_method: string, arg_operands: array, arg_credentials: Credentials): Promise

Process request and returns datas.

Public Constructors

public constructor(arg_provider_name: string, arg_service_instance: Service, arg_context: string): nothing source

Create a Topology service provider.

Params:

NameTypeAttributeDescription
arg_provider_name string

consumer name

arg_service_instance Service

service instance

arg_context string

logging context label

Return:

nothing

Public Methods

public process(arg_method: string, arg_operands: array, arg_credentials: Credentials): Promise source

Process request and returns datas. Query filter: { mode:'logical' or 'physical' root_type:'*' or 'node' or 'server' or 'application' root_name:node/server/application name }

Params:

NameTypeAttributeDescription
arg_method string

method name

arg_operands array

request operands

arg_credentials Credentials

request credentials

Return:

Promise