Home Reference Source
public class | source

PoolConnectedServersProtocol

Extends:

common/mining-pools/common/Pool-Protocol-List~PoolProtocolList → PoolConnectedServersProtocol

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

list: *

public

Method Summary

Public Methods
public

async insertServersListWaitlist(serversListArray: *): *

public
Private Methods
private

_addConnectedServerPool(socket: *, fee: *)

private
private
private

_unsubscribePoolConnectedServer(nodesListObject: *)

Public Constructors

public constructor() source

Public Members

public connectedServersPools: *[] source

public list: * source

public poolManagement: * source

Public Methods

public async insertServersListWaitlist(serversListArray: *): * source

Params:

NameTypeAttributeDescription
serversListArray *

Return:

*

public async startPoolConnectedServersProtocol(): boolean source

Return:

boolean

Private Methods

private _addConnectedServerPool(socket: *, fee: *) source

Params:

NameTypeAttributeDescription
socket *
fee *

private async _registerPoolToServerPool(socket: *): boolean source

Params:

NameTypeAttributeDescription
socket *

Return:

boolean

private async _subscribePoolConnectedServer(socket: *) source

Params:

NameTypeAttributeDescription
socket *

private _unsubscribePoolConnectedServer(nodesListObject: *) source

Params:

NameTypeAttributeDescription
nodesListObject *