C# Class NiceHashMiner.Miners.ccminer

Inheritance: Miner
Datei anzeigen Open project: nicehash/NiceHashMiner

Public Methods

Method Description
GetSummary ( ) : APIData
Start ( string url, string btcAdress, string worker ) : void
ccminer ( ) : System

Protected Methods

Method Description
BenchmarkCreateCommandLine ( Algorithm algorithm, int time ) : string
BenchmarkOutputErrorDataReceivedImpl ( string outdata ) : void
BenchmarkParseLine ( string outdata ) : bool
GET_MAX_CooldownTimeInMilliseconds ( ) : int
UpdateBindPortCommand ( int oldPort, int newPort ) : bool
_Stop ( MinerStopType willswitch ) : void

Method Details

BenchmarkCreateCommandLine() protected method

protected BenchmarkCreateCommandLine ( Algorithm algorithm, int time ) : string
algorithm Algorithm
time int
return string

BenchmarkOutputErrorDataReceivedImpl() protected method

protected BenchmarkOutputErrorDataReceivedImpl ( string outdata ) : void
outdata string
return void

BenchmarkParseLine() protected method

protected BenchmarkParseLine ( string outdata ) : bool
outdata string
return bool

GET_MAX_CooldownTimeInMilliseconds() protected method

protected GET_MAX_CooldownTimeInMilliseconds ( ) : int
return int

GetSummary() public method

public GetSummary ( ) : APIData
return APIData

Start() public method

public Start ( string url, string btcAdress, string worker ) : void
url string
btcAdress string
worker string
return void

UpdateBindPortCommand() protected method

protected UpdateBindPortCommand ( int oldPort, int newPort ) : bool
oldPort int
newPort int
return bool

_Stop() protected method

protected _Stop ( MinerStopType willswitch ) : void
willswitch MinerStopType
return void

ccminer() public method

public ccminer ( ) : System
return System