Home Reference Source
public class | source

NodePropagationList

You can directly use an instance of this class. nodePropagationList

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private
private

Method Summary

Public Methods
public

async propagateWaitlistSimple(socket: *, nodeType: *, disconnectSocket: *): Promise<void>

Only supports simple Socket

Private Methods
private

_getWailistElements(number: *, nodes: *, answer: *, onlySSL: boolean)

private

Public Constructors

public constructor() source

Private Members

private _waitlistSimple: *[] source

private _waitlistSimpleSSL: *[] source

Public Methods

public async propagateWaitlistSimple(socket: *, nodeType: *, disconnectSocket: *): Promise<void> source

Only supports simple Socket

Params:

NameTypeAttributeDescription
socket *
nodeType *
disconnectSocket *

Return:

Promise<void>

Private Methods

private _getWailistElements(number: *, nodes: *, answer: *, onlySSL: boolean) source

Params:

NameTypeAttributeDescription
number *
nodes *
answer *
onlySSL boolean
  • optional
  • default: false

private _recalculateWaitlistSimple() source