Reference Source
public class | source

TopologyService

Extends:

js/services/base/base_service.js~BaseService → TopologyService

Service class for topology datas.

Constructor Summary

Public Constructor
public

constructor(arg_svc_name: string, arg_service_settings: object, arg_context: string): nothing

Create a service.

Member Summary

Public Members
public

Method Summary

Public Methods
public

create_consumer(): ServiceConsumer

Create a service consumer.

public

create_provider(arg_name: string, arg_service: Service): ServiceProvider

Create a service provider.

Public Constructors

public constructor(arg_svc_name: string, arg_service_settings: object, arg_context: string): nothing source

Create a service.

Params:

NameTypeAttributeDescription
arg_svc_name string

service name

arg_service_settings object

service settings

arg_context string

logging context label

Return:

nothing

Public Members

public is_topology_service: boolean source

Public Methods

public create_consumer(): ServiceConsumer source

Create a service consumer.

Return:

ServiceConsumer

service consumer instance

public create_provider(arg_name: string, arg_service: Service): ServiceProvider source

Create a service provider.

Params:

NameTypeAttributeDescription
arg_name string

provider name

arg_service Service

service instance

Return:

ServiceProvider

service provider instance