Reference Source
public class | source

LogsSvcProvider

Extends:

devapt-core-common/dist/js/services/service_provider~ServiceProvider → LogsSvcProvider

Logs service provider class.

Constructor Summary

Public Constructor
public

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

Create a assets service provider.

Member Summary

Public Members
public

Class test flag.

public

logs_bus_stream: Stream

Logs bus stream.

Method Summary

Public Methods
public abstract

Get provider operations names.

public

Initialize bus stream.

public

produce(arg_request: ServiceRequest): Promise

Produce service datas on request.

Public Constructors

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

Create a assets 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 Members

public is_logs_svc_provider: boolean source

Class test flag.

public logs_bus_stream: Stream source

Logs bus stream.

Public Methods

public abstract get_operations_names(): array source

Get provider operations names.

Return:

array

public init_logs_bus_stream(): nothing source

Initialize bus stream.

Return:

nothing

public produce(arg_request: ServiceRequest): Promise source

Produce service datas on request.

Params:

NameTypeAttributeDescription
arg_request ServiceRequest

service request instance.

Return:

Promise

promise of ServiceResponse instance.