C# Class spaceconquest.GlobalChatClient

Afficher le fichier Open project: cclay/spaceconquest Class Usage Examples

Méthodes publiques

Méthode Description
GetLogs ( ) : List

Method that fetches the last 10 chatlogs on the server Will call another Thread to do the HTTP fetch

GlobalChatClient ( String serverAddress ) : System
SendMessage ( string name, string message ) : System.Boolean

Sends an HTTP GET Request to the web server whose root is @ httpSource returns true if successful otherwise false if error

UpdateLocalLogList ( ) : void

Private Methods

Méthode Description
CreateDeepListCopy ( List list ) : List

Method Details

GetLogs() public méthode

Method that fetches the last 10 chatlogs on the server Will call another Thread to do the HTTP fetch
public GetLogs ( ) : List
Résultat List

GlobalChatClient() public méthode

public GlobalChatClient ( String serverAddress ) : System
serverAddress String
Résultat System

SendMessage() public méthode

Sends an HTTP GET Request to the web server whose root is @ httpSource returns true if successful otherwise false if error
public SendMessage ( string name, string message ) : System.Boolean
name string
message string
Résultat System.Boolean

UpdateLocalLogList() public méthode

public UpdateLocalLogList ( ) : void
Résultat void