C# Класс CClash.CClashServerClient

Наследование: ICompilerCache
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
Connect ( ) : void
ConnectClient ( ) : void
Dispose ( bool disposing ) : void
Open ( ) : void

Описание методов

CClashServerClient() публичный Метод

public CClashServerClient ( string cachedir ) : System
cachedir string
Результат System

CheckCache() публичный Метод

public CheckCache ( ICompiler comp, IEnumerable args, DataHash commonkey, CacheManifest &manifest ) : bool
comp ICompiler
args IEnumerable
commonkey DataHash
manifest CacheManifest
Результат bool

CompileOrCache() публичный Метод

public CompileOrCache ( ICompiler comp, IEnumerable args ) : int
comp ICompiler
args IEnumerable
Результат int

DeriveHashKey() публичный Метод

public DeriveHashKey ( ICompiler comp, IEnumerable args ) : DataHash
comp ICompiler
args IEnumerable
Результат DataHash

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

GetStats() публичный Метод

public GetStats ( string compiler ) : string
compiler string
Результат string

IsSupported() публичный Метод

public IsSupported ( ICompiler comp, IEnumerable args ) : bool
comp ICompiler
args IEnumerable
Результат bool

SetCaptureCallback() публичный Метод

public SetCaptureCallback ( ICompiler comp, Action onOutput, Action onError ) : void
comp ICompiler
onOutput Action
onError Action
Результат void

SetCompiler() публичный Метод

public SetCompiler ( string compiler, string workdir, string>.System envs ) : ICompiler
compiler string
workdir string
envs string>.System
Результат ICompiler

StartBackgroundServer() публичный статический Метод

public static StartBackgroundServer ( ) : void
Результат void

Transact() публичный Метод

public Transact ( CClashRequest req ) : CClashResponse
req CClashRequest
Результат CClashResponse