C# Class ChessServer.Server

Show file Open project: Beginner7/Command2

Public Properties

Property Type Description
Games GameObject>.ConcurrentDictionary
LostBeats int>.ConcurrentDictionary
Messages List>.ConcurrentDictionary
PlayersQue User>.ConcurrentDictionary
Users User>.ConcurrentDictionary

Public Methods

Method Description
CreateRandomNewUser ( ) : User
ProcessRequest ( string request ) : string

Private Methods

Method Description
MatchMaking ( object source, System.Timers.ElapsedEventArgs e ) : void
PulseChecker ( object source, System.Timers.ElapsedEventArgs e ) : void
Server ( ) : System.Collections.Concurrent

Method Details

CreateRandomNewUser() public static method

public static CreateRandomNewUser ( ) : User
return Protocol.User

ProcessRequest() public method

public ProcessRequest ( string request ) : string
request string
return string

Property Details

Games public static property

public static ConcurrentDictionary Games
return GameObject>.ConcurrentDictionary

LostBeats public static property

public static ConcurrentDictionary LostBeats
return int>.ConcurrentDictionary

Messages public static property

public static ConcurrentDictionary> Messages
return List>.ConcurrentDictionary

PlayersQue public static property

public static ConcurrentDictionary PlayersQue
return User>.ConcurrentDictionary

Users public static property

public static ConcurrentDictionary Users
return User>.ConcurrentDictionary