Reference Source
public class | source

BindingService

Extends:

BindingStream → BindingService

Constructor Summary

Public Constructor
public

constructor(arg_id: string, arg_runtime: RuntimeBase, arg_component: Component): nothing

Creates an instance of Binding.

Member Summary

Public Members
public

Method Summary

Public Methods
public

Bind a service stream event on object method.

public

Build binding.

Inherited Summary

From class BindingStream
public
private
private

_id: *

private
private
private
private
private
private
private
private
private

_stream: *

private
private
private
private
public

bind_stream(arg_stream: object, arg_values_xform: string | array | function, arg_bound_object: object, arg_bound_method: string, arg_method_operands: anything, arg_format_object: object, arg_starting_value: any, arg_options: object): function

Bind a stream to a target object action.

public

Build binding.

public

Get a formatting function or identity.

public

set_options(arg_options: *): *

public

set_source_service_method(arg_source_svc_method: *): *

public

set_source_service_name(arg_source_svc_name: *): *

public

set_source_timeline_name(arg_source_timeline: *): *

public

set_source_transformation(arg_transformation: *): *

public

set_starting_value(arg_starting_value: *): *

public

set_state_path(arg_state_path: *): *

public

set_stream(arg_stream: *): *

public

set_target_method_name(arg_target_method: *): *

public

set_targets_instances_array(arg_targets: *): *

Public Constructors

public constructor(arg_id: string, arg_runtime: RuntimeBase, arg_component: Component): nothing source

Creates an instance of Binding.

Override:

BindingStream#constructor

Params:

NameTypeAttributeDescription
arg_id string

binding identifier.

arg_runtime RuntimeBase

client runtime.

arg_component Component

component instance.

Return:

nothing

Public Members

public is_binding_service: boolean source

Public Methods

public bind_svc(): Promise source

Bind a service stream event on object method.

Return:

Promise

public build(): Promise source

Build binding.

Override:

BindingStream#build

Return:

Promise