Home Reference Source
public class | source

ServerPoolConnectedPoolsProtocol

Extends:

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

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

list: *

public
public

Method Summary

Public Methods
public

findPoolByPoolPublicKey(poolPublicKey: *): *

public
Private Methods
private

_addConnectedPool(socket: *, poolPublicKey: *, poolName: *, poolFee: *, poolWebsite: *, poolServers: *)

private

_subscribeSocket(nodesListObject: *)

private

_unsubscribeSocket(nodesListObject: *)

Public Constructors

public constructor() source

Public Members

public connectedPools: *[] source

public list: * source

public loaded: boolean source

public serverPoolManagement: * source

Public Methods

public findPoolByPoolPublicKey(poolPublicKey: *): * source

Params:

NameTypeAttributeDescription
poolPublicKey *

Return:

*

public startServerPoolConnectedPoolsProtocol() source

Private Methods

private _addConnectedPool(socket: *, poolPublicKey: *, poolName: *, poolFee: *, poolWebsite: *, poolServers: *) source

Params:

NameTypeAttributeDescription
socket *
poolPublicKey *
poolName *
poolFee *
poolWebsite *
poolServers *

private _subscribeSocket(nodesListObject: *) source

Params:

NameTypeAttributeDescription
nodesListObject *

private _unsubscribeSocket(nodesListObject: *) source

Params:

NameTypeAttributeDescription
nodesListObject *