C# 클래스 Library.Net.Connections.BaseConnection

상속: Connection, IThisLock
파일 보기 프로젝트 열기: Alliance-Network/Library 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
Alive ( ) : void
AliveTimer ( object state ) : void

메소드 상세

BaseConnection() 공개 메소드

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

Close() 공개 메소드

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

Connect() 공개 메소드

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

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetLayers() 공개 메소드

public GetLayers ( ) : IEnumerable
리턴 IEnumerable

Receive() 공개 메소드

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

Send() 공개 메소드

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