Service
Constructor Summary
Public Constructor | ||
public |
constructor(arg_svc_name: string, arg_svc_settings: object): nothing Create a service wrapper instance. |
Method Summary
Public Methods | ||
public |
create_poller(arg_poller_settings: object, arg_op_name: object, arg_credentials: object, arg_socket: object, arg_op_opds: array): nothing Create a poller for the given socket operation. |
|
public |
create_timeline(op_name: *, svc_socket: *, timeline_settings: *) |
|
public |
create_timer(arg_timer_name: string, arg_timer_cb: function, arg_delay: integer, arg_force_create: boolean): nothing Create a timer. |
|
public |
delete_timer(): nothing Delete a timer. |
|
public |
Get service name. |
|
public |
Load service settings. |
Public Constructors
Public Methods
public create_poller(arg_poller_settings: object, arg_op_name: object, arg_credentials: object, arg_socket: object, arg_op_opds: array): nothing source
Create a poller for the given socket operation.
Params:
Name | Type | Attribute | Description |
arg_poller_settings | object | poller settings { name:'...', interval_seconds|interval_milliseconds:number }. |
|
arg_op_name | object | service operation name. |
|
arg_credentials | object | session credentials. |
|
arg_socket | object | service socket. |
|
arg_op_opds | array | operation operands (optional)(default=[]). |
Return:
nothing |
public create_timeline(op_name: *, svc_socket: *, timeline_settings: *) source
Params:
Name | Type | Attribute | Description |
op_name | * | ||
svc_socket | * | ||
timeline_settings | * |
public create_timer(arg_timer_name: string, arg_timer_cb: function, arg_delay: integer, arg_force_create: boolean): nothing source
Create a timer.
Return:
nothing |
public delete_timer(): nothing source
Delete a timer.
Params:
Name | Type | Attribute | Description |
arg_timer_id. | any |
Return:
nothing |