C# Class Gallatin.Core.Net.NetworkConnectionFactory

Inheritance: INetworkConnectionFactory
ファイルを表示 Open project: williamoneill/Gallatin Class Usage Examples

Public Methods

Method Description
BeginConnect ( string host, int port, INetworkConnection>.Action callback ) : void
EndListen ( ) : void
Listen ( string address, int port, Action callback ) : void

Private Methods

Method Description
HandleConnect ( IAsyncResult ar ) : void
HandleNewClientConnect ( IAsyncResult ar ) : void
NetworkConnectionFactory ( ICoreSettings settings ) : System

Method Details

BeginConnect() public method

public BeginConnect ( string host, int port, INetworkConnection>.Action callback ) : void
host string
port int
callback INetworkConnection>.Action
return void

EndListen() public method

public EndListen ( ) : void
return void

Listen() public method

public Listen ( string address, int port, Action callback ) : void
address string
port int
callback Action
return void