Home Reference Source
public class | source

NodeService

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public

onReply: {}

public

onceOpen: *[]

public
public

status: *

public
public

theirIds: {}

public

uri: *

public
public

ws: *

Method Summary

Public Methods
public
public

rejig()

public

req(method: *, params: *, callback: *)

public

request(method: *, params: *[]): *

public

start(uri: *)

public

subscribe(what: *, params: *, callback: *, errorHandler: *, ourId: undefined): *

public

unsubscribe(ourId: *)

Public Constructors

public constructor() source

Public Members

public backoff: number source

public cancelations: {} source

public index: number source

public onReply: {} source

public onceOpen: *[] source

public pendingCancelations: {} source

public status: * source

public subscriptions: {} source

public theirIds: {} source

public uri: * source

public uriIndex: number source

public ws: * source

Public Methods

public finalise() source

public rejig() source

public req(method: *, params: *, callback: *) source

Params:

NameTypeAttributeDescription
method *
params *
callback *

public request(method: *, params: *[]): * source

Params:

NameTypeAttributeDescription
method *
params *[]
  • optional
  • default: []

Return:

*

public start(uri: *) source

Params:

NameTypeAttributeDescription
uri *
  • optional

public subscribe(what: *, params: *, callback: *, errorHandler: *, ourId: undefined): * source

Params:

NameTypeAttributeDescription
what *
params *
callback *
errorHandler *
ourId undefined
  • optional
  • default: undefined

Return:

*

public unsubscribe(ourId: *) source

Params:

NameTypeAttributeDescription
ourId *