Home Reference Source
public class | source

NodesWaitlistObject

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

backedBy: *[]

public
public
public
public
public
public
public
public
public
public
public

level: *

public
public
public
public

socket: *

Method Summary

Public Methods
public
public

checkLastTimeChecked(timeTryReconnectAgain: *): boolean

public

findBackedBy(sckAddress: *): *

public

pushBackedBy(sckAddress: *, connected: *): boolean

public
public

removeBackedBy(sckAddress: *)

public
public

socketConnected(socket: *)

public
public
public

toJSON(): *

public

toString(): *

Public Constructors

public constructor() source

Public Members

public backedBy: *[] source

public backedByConnected: number source

public blocked: boolean source

public blockedLastTime: number source

public checked: boolean source

public connected: boolean source

public connecting: boolean source

public errorTrials: number source

public failsChecking: number source

public isFallback: boolean source

public lastTimeChecked: number source

public level: * source

public nodeConsensusType: * source

public nodeType: * source

public sckAddresses: * source

public socket: * source

Public Methods

public checkIsConnected(): * source

Return:

*

public checkLastTimeChecked(timeTryReconnectAgain: *): boolean source

Params:

NameTypeAttributeDescription
timeTryReconnectAgain *

Return:

boolean

public findBackedBy(sckAddress: *): * source

Params:

NameTypeAttributeDescription
sckAddress *

Return:

*

public pushBackedBy(sckAddress: *, connected: *): boolean source

Params:

NameTypeAttributeDescription
sckAddress *
connected *

Return:

boolean

public refreshLastTimeChecked() source

public removeBackedBy(sckAddress: *) source

Params:

NameTypeAttributeDescription
sckAddress *

public resetWaitlistNode() source

public socketConnected(socket: *) source

Params:

NameTypeAttributeDescription
socket *

public socketErrorConnected() source

public sortingScore(): * source

Return:

*

public toJSON(): * source

Return:

*

public toString(): * source

Return:

*