C# Class UnitTest.ServerSocket

Inheritance: TCPSocket
Mostra file Open project: nberardi/hMailServer

Public Methods

Method Description
GetIsListeningEvent ( ) : AutoResetEvent
OnClientConnect ( IAsyncResult asyn ) : void
ServerSocket ( int maxNumberOfConnections, int port ) : System
StartListen ( ) : void
WaitForCompletion ( ) : void

Protected Methods

Method Description
OnConnect ( ) : void

Private Methods

Method Description
ProcessClients ( ) : void

Method Details

GetIsListeningEvent() public method

public GetIsListeningEvent ( ) : AutoResetEvent
return System.Threading.AutoResetEvent

OnClientConnect() public method

public OnClientConnect ( IAsyncResult asyn ) : void
asyn IAsyncResult
return void

OnConnect() protected method

protected OnConnect ( ) : void
return void

ServerSocket() public method

public ServerSocket ( int maxNumberOfConnections, int port ) : System
maxNumberOfConnections int
port int
return System

StartListen() public method

public StartListen ( ) : void
return void

WaitForCompletion() public method

public WaitForCompletion ( ) : void
return void