C# Class Versionr.Network.Server

Afficher le fichier Open project: eatplayhate/versionr

Méthodes publiques

Свойство Type Description
BaseDirectory System.IO.DirectoryInfo
ConfigFile string
SyncObject object

Private Properties

Свойство Type Description
AcceptHeads bool
CheckAuthentication bool
HandleAuthentication bool
HandleConnection void
ImportVersions bool
LoadConfig void
RunWebServer void

Méthodes publiques

Méthode Description
Run ( System info, int port, string configFile = null, bool encryptData = null ) : bool

Private Methods

Méthode Description
AcceptHeads ( ClientStateInfo clientInfo, Area ws, string &errorData ) : bool
CheckAuthentication ( AuthenticationResponse response, string salt, Rights &accessRights ) : bool
HandleAuthentication ( ClientStateInfo clientInfo, TcpClient client, SharedNetwork sharedInfo ) : bool
HandleConnection ( System info, TcpClient client ) : void
ImportVersions ( Area ws, ClientStateInfo clientInfo ) : bool
LoadConfig ( ) : void
RunWebServer ( ) : void

Method Details

Run() public static méthode

public static Run ( System info, int port, string configFile = null, bool encryptData = null ) : bool
info System
port int
configFile string
encryptData bool
Résultat bool

Property Details

BaseDirectory public_oe static_oe property

public static System.IO.DirectoryInfo BaseDirectory
Résultat System.IO.DirectoryInfo

ConfigFile public_oe static_oe property

public static string ConfigFile
Résultat string

SyncObject public_oe static_oe property

public static object SyncObject
Résultat object