C# Class Renci.SshNet.Tests.Common.AsyncSocketListener

Inheritance: IDisposable
Mostra file Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
AsyncSocketListener ( IPEndPoint endPoint ) : System
Dispose ( ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Method Description
AcceptCallback ( IAsyncResult ar ) : void
ReadCallback ( IAsyncResult ar ) : void
SignalBytesReceived ( byte bytesReceived, Socket client ) : void
SignalConnected ( Socket client ) : void
SignalDisconnected ( Socket client ) : void
StartListener ( object state ) : void

Method Details

AsyncSocketListener() public method

public AsyncSocketListener ( IPEndPoint endPoint ) : System
endPoint System.Net.IPEndPoint
return System

Dispose() public method

public Dispose ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void