Home Reference Source
public class | source

NodeDiscoveryService

You can directly use an instance of this class. nodeDiscoveryService

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

async processFallbackNodes(data: *): *

public
Private Methods
private

async _discoverFallbackNodes(setTimeOut: *): *

private

async _downloadFallBackList(fallbackItem: *): *

Public Constructors

public constructor() source

Public Members

public fallbackLists: *[] source

Public Methods

public async processFallbackNodes(data: *): * source

Params:

NameTypeAttributeDescription
data *

Return:

*

public startDiscovery() source

Private Methods

private async _discoverFallbackNodes(setTimeOut: *): * source

Params:

NameTypeAttributeDescription
setTimeOut *

Return:

*

private async _downloadFallBackList(fallbackItem: *): * source

Params:

NameTypeAttributeDescription
fallbackItem *

Return:

*