C# Class SharpUV.Test.EchoClient

Inheritance: TcpClientSocket
Datei anzeigen Open project: gigi81/sharpuv Class Usage Examples

Private Properties

Property Type Description
AfterReceive void
CreateRandom byte[]
RunReceive void

Public Methods

Method Description
EchoClient ( int packetSize, int total ) : System
Run ( ) : void
SendPacket ( ) : void

Protected Methods

Method Description
OnConnect ( UvArgs args ) : void
OnRead ( UvDataArgs args ) : void
OnWrite ( UvDataArgs args ) : void

Private Methods

Method Description
AfterReceive ( ) : void
CreateRandom ( int size ) : byte[]
RunReceive ( ) : void

Method Details

EchoClient() public method

public EchoClient ( int packetSize, int total ) : System
packetSize int
total int
return System

OnConnect() protected method

protected OnConnect ( UvArgs args ) : void
args UvArgs
return void

OnRead() protected method

protected OnRead ( UvDataArgs args ) : void
args UvDataArgs
return void

OnWrite() protected method

protected OnWrite ( UvDataArgs args ) : void
args UvDataArgs
return void

Run() public method

public Run ( ) : void
return void

SendPacket() public method

public SendPacket ( ) : void
return void