Home Reference Source
public class | source

NodeAPICallbacks

You can directly use an instance of this class. nodeAPICallbacks

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private

{ name callback }

Method Summary

Public Methods
public

addressBalanceUnsubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *}

public

addressBalancesSubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *}

public

addressTransactionsSubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *}

public

addressTransactionsUnsubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *}

public

removeCallback(name: *, callback: *)

Private Methods
private

_addSubscribedEvent(unsubscribe: *, name: *, res: *, nodeApiType: *)

private

Public Constructors

public constructor() source

Private Members

private _subscribers: *[] source

{ name callback }

Public Methods

public addressBalanceUnsubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *} source

Params:

NameTypeAttributeDescription
req *
res *
callback *
nodeApiType *

Return:

{"result": *, "message": *, "_suffix": *}

public addressBalancesSubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *} source

Params:

NameTypeAttributeDescription
req *
res *
callback *
nodeApiType *

Return:

{"result": *, "message": *, "_suffix": *}

public addressTransactionsSubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *} source

Params:

NameTypeAttributeDescription
req *
res *
callback *
nodeApiType *

Return:

{"result": *, "message": *, "_suffix": *}

public addressTransactionsUnsubscribe(req: *, res: *, callback: *, nodeApiType: *): {"result": *, "message": *, "_suffix": *} source

Params:

NameTypeAttributeDescription
req *
res *
callback *
nodeApiType *

Return:

{"result": *, "message": *, "_suffix": *}

public removeCallback(name: *, callback: *) source

Params:

NameTypeAttributeDescription
name *
callback *

Private Methods

private _addSubscribedEvent(unsubscribe: *, name: *, res: *, nodeApiType: *) source

Params:

NameTypeAttributeDescription
unsubscribe *
name *
res *
nodeApiType *

private _disconnectCallbacks(socket: *) source

Params:

NameTypeAttributeDescription
socket *