C# Class spaceconquest.GlobalChatClient

显示文件 Open project: cclay/spaceconquest Class Usage Examples

Public Methods

Method 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

Method Description
CreateDeepListCopy ( List list ) : List

Method Details

GetLogs() public method

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

GlobalChatClient() public method

public GlobalChatClient ( String serverAddress ) : System
serverAddress String
return System

SendMessage() public method

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
return System.Boolean

UpdateLocalLogList() public method

public UpdateLocalLogList ( ) : void
return void