C# Class Library.Net.Amoeba.ClientManager

Inheritance: ManagerBase, Library.Configuration.ISettings, IThisLock
ファイルを表示 Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method Description
ClientManager ( BufferManager bufferManager ) : System
CreateConnection ( string uri, BandwidthLimit bandwidthLimit ) : Connection
Load ( string directoryPath ) : void
Save ( string directoryPath ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnCheckUriEvent ( string uri ) : bool
OnCreateCapEvent ( string uri ) : Cap

Private Methods

Method Description
Connect ( IPEndPoint remoteEndPoint, System.TimeSpan timeout ) : Socket
Decode ( string option ) : string>>.IEnumerable
GetIpAddress ( string host ) : IPAddress

Method Details

ClientManager() public method

public ClientManager ( BufferManager bufferManager ) : System
bufferManager BufferManager
return System

CreateConnection() public method

public CreateConnection ( string uri, BandwidthLimit bandwidthLimit ) : Connection
uri string
bandwidthLimit BandwidthLimit
return Connection

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Load() public method

public Load ( string directoryPath ) : void
directoryPath string
return void

OnCheckUriEvent() protected method

protected OnCheckUriEvent ( string uri ) : bool
uri string
return bool

OnCreateCapEvent() protected method

protected OnCreateCapEvent ( string uri ) : Cap
uri string
return Cap

Save() public method

public Save ( string directoryPath ) : void
directoryPath string
return void