C# 클래스 CClash.CClashServerClient

상속: ICompilerCache
파일 보기 프로젝트 열기: artillery/cclash 1 사용 예제들

공개 메소드들

메소드 설명
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