C# Class LCM.LCM.TCPService.ClientThread

Datei anzeigen Open project: mlab-upenn/arch-apex

Public Methods

Method Description
ClientThread ( TCPService service, TcpClient sock ) : System
Run ( ) : void
Send ( string chanstr, byte channel, byte data ) : void
Start ( ) : void

Private Methods

Method Description
ReadInput ( Stream sourceStream, byte target, int start, int count ) : int

Reads a number of characters from the current source Stream and writes the data to the target array at the specified index.

Method Details

ClientThread() public method

public ClientThread ( TCPService service, TcpClient sock ) : System
service TCPService
sock System.Net.Sockets.TcpClient
return System

Run() public method

public Run ( ) : void
return void

Send() public method

public Send ( string chanstr, byte channel, byte data ) : void
chanstr string
channel byte
data byte
return void

Start() public method

public Start ( ) : void
return void