C# Class Library.Net.Connections.BaseConnection

Inheritance: Connection, IThisLock
Show file Open project: Alliance-Network/Library Class Usage Examples

Public Methods

Method Description
BaseConnection ( Cap cap, BandwidthLimit bandwidthLimit, int maxReceiveCount, BufferManager bufferManager ) : System
Close ( System.TimeSpan timeout, Information options ) : void
Connect ( System.TimeSpan timeout, Information options ) : void
GetLayers ( ) : IEnumerable
Receive ( System.TimeSpan timeout, Information options ) : Stream
Send ( Stream stream, System.TimeSpan timeout, Information options ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
Alive ( ) : void
AliveTimer ( object state ) : void

Method Details

BaseConnection() public method

public BaseConnection ( Cap cap, BandwidthLimit bandwidthLimit, int maxReceiveCount, BufferManager bufferManager ) : System
cap Cap
bandwidthLimit BandwidthLimit
maxReceiveCount int
bufferManager BufferManager
return System

Close() public method

public Close ( System.TimeSpan timeout, Information options ) : void
timeout System.TimeSpan
options Information
return void

Connect() public method

public Connect ( System.TimeSpan timeout, Information options ) : void
timeout System.TimeSpan
options Information
return void

Dispose() protected method

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

GetLayers() public method

public GetLayers ( ) : IEnumerable
return IEnumerable

Receive() public method

public Receive ( System.TimeSpan timeout, Information options ) : Stream
timeout System.TimeSpan
options Information
return Stream

Send() public method

public Send ( Stream stream, System.TimeSpan timeout, Information options ) : void
stream Stream
timeout System.TimeSpan
options Information
return void