C# Class ClientApp.Client

Exibir arquivo Open project: projectgroepA1/ProjectgroepA1 Class Usage Examples

Public Properties

Property Type Description
reader Communication

Public Methods

Method Description
Client ( ServerConnection serverConnection, string hostName, int id ) : System
InsertTime ( string _time ) : void
appendTextToChat ( string message ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
Client_FormClosing ( object sender, FormClosingEventArgs e ) : void
Client_Load ( object sender, EventArgs e ) : void
GuiStarter ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PacketsFromServer ( ) : void
UpdateGui ( ) : void
sessions_button_Click ( object sender, EventArgs e ) : void
textBox8_KeyDown ( object sender, KeyEventArgs e ) : void

Method Details

Client() public method

public Client ( ServerConnection serverConnection, string hostName, int id ) : System
serverConnection ServerConnection
hostName string
id int
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

InsertTime() public method

public InsertTime ( string _time ) : void
_time string
return void

appendTextToChat() public method

public appendTextToChat ( string message ) : void
message string
return void

Property Details

reader public_oe property

public Communication,ClientApp reader
return Communication