C# Class CClash.CClashServerClient

Inheritance: ICompilerCache
Afficher le fichier Open project: artillery/cclash Class Usage Examples

Méthodes publiques

Méthode Description
CClashServerClient ( string cachedir ) : System
CheckCache ( ICompiler comp, IEnumerable args, DataHash commonkey, CacheManifest &manifest ) : bool
CompileOrCache ( ICompiler comp, IEnumerable args ) : int
DeriveHashKey ( ICompiler comp, IEnumerable args ) : DataHash
Dispose ( ) : void
GetStats ( string compiler ) : string
IsSupported ( ICompiler comp, IEnumerable args ) : bool
SetCaptureCallback ( ICompiler comp, Action onOutput, Action onError ) : void
SetCompiler ( string compiler, string workdir, string>.System envs ) : ICompiler
StartBackgroundServer ( ) : void
Transact ( CClashRequest req ) : CClashResponse

Private Methods

Méthode Description
Connect ( ) : void
ConnectClient ( ) : void
Dispose ( bool disposing ) : void
Open ( ) : void

Method Details

CClashServerClient() public méthode

public CClashServerClient ( string cachedir ) : System
cachedir string
Résultat System

CheckCache() public méthode

public CheckCache ( ICompiler comp, IEnumerable args, DataHash commonkey, CacheManifest &manifest ) : bool
comp ICompiler
args IEnumerable
commonkey DataHash
manifest CacheManifest
Résultat bool

CompileOrCache() public méthode

public CompileOrCache ( ICompiler comp, IEnumerable args ) : int
comp ICompiler
args IEnumerable
Résultat int

DeriveHashKey() public méthode

public DeriveHashKey ( ICompiler comp, IEnumerable args ) : DataHash
comp ICompiler
args IEnumerable
Résultat DataHash

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetStats() public méthode

public GetStats ( string compiler ) : string
compiler string
Résultat string

IsSupported() public méthode

public IsSupported ( ICompiler comp, IEnumerable args ) : bool
comp ICompiler
args IEnumerable
Résultat bool

SetCaptureCallback() public méthode

public SetCaptureCallback ( ICompiler comp, Action onOutput, Action onError ) : void
comp ICompiler
onOutput Action
onError Action
Résultat void

SetCompiler() public méthode

public SetCompiler ( string compiler, string workdir, string>.System envs ) : ICompiler
compiler string
workdir string
envs string>.System
Résultat ICompiler

StartBackgroundServer() public static méthode

public static StartBackgroundServer ( ) : void
Résultat void

Transact() public méthode

public Transact ( CClashRequest req ) : CClashResponse
req CClashRequest
Résultat CClashResponse