Reference Source
public class | source

ServiceOperation

Constructor Summary

Public Constructor
public

constructor(arg_svc_name: string, arg_svc_settings: object): nothing

Create a client Runtime instance.

Member Summary

Public Members
public
Private Members
private

_name: *

private

Method Summary

Public Methods
public

execute_on_browser(arg_operands: any, arg_credentials: object): Stream

Execute operation on browser.

public

execute_on_server(arg_svc_socket: object, arg_svc_path: string, arg_operands: any, arg_credentials: object, arg_session_uid: string): Stream

Execute operation on remote server.

public

Get service name.

Public Constructors

public constructor(arg_svc_name: string, arg_svc_settings: object): nothing source

Create a client Runtime instance.

Params:

NameTypeAttributeDescription
arg_svc_name string

service name.

arg_svc_settings object

service settiings.

Return:

nothing

Public Members

public is_service_operation: boolean source

Private Members

private _name: * source

private _settings: * source

Public Methods

public execute_on_browser(arg_operands: any, arg_credentials: object): Stream source

Execute operation on browser.

Params:

NameTypeAttributeDescription
arg_operands any

operation operands.

arg_credentials object

session credentials.

Return:

Stream

service results stream.

public execute_on_server(arg_svc_socket: object, arg_svc_path: string, arg_operands: any, arg_credentials: object, arg_session_uid: string): Stream source

Execute operation on remote server.

Params:

NameTypeAttributeDescription
arg_svc_socket object

remote service socket.

arg_svc_path string

remote service socket.

arg_operands any

operation operands.

arg_credentials object

session credentials.

arg_session_uid string

session unique id.

Return:

Stream

service results stream.

public get_name(): string source

Get service name.

Return:

string