C# Class CClash.CClashServer

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

Méthodes publiques

Méthode Description
CClashServer ( ) : System
ConnectionThreadFn ( object con ) : void
Dispose ( ) : void
Listen ( string cachedir ) : void
MakePipeName ( string cachedir ) : string
Preflight ( string cachedir ) : bool
ProcessRequest ( CClashRequest req ) : CClashResponse
ServiceRequest ( NamedPipeServerStream nss ) : void
Stop ( ) : void

Private Methods

Méthode Description
Dispose ( bool disposing ) : void
NewServerThread ( string cachedir ) : void
ThreadBeforeProcessRequest ( ) : void
ThreadIsBusy ( ) : void
ThreadIsIdle ( ) : void

Method Details

CClashServer() public méthode

public CClashServer ( ) : System
Résultat System

ConnectionThreadFn() public méthode

public ConnectionThreadFn ( object con ) : void
con object
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Listen() public méthode

public Listen ( string cachedir ) : void
cachedir string
Résultat void

MakePipeName() public static méthode

public static MakePipeName ( string cachedir ) : string
cachedir string
Résultat string

Preflight() public méthode

public Preflight ( string cachedir ) : bool
cachedir string
Résultat bool

ProcessRequest() public méthode

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

ServiceRequest() public méthode

public ServiceRequest ( NamedPipeServerStream nss ) : void
nss NamedPipeServerStream
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void