C# 클래스 Universal.Torrent.Client.PeerConnections.HttpConnection

상속: IConnection
파일 보기 프로젝트 열기: haroldma/Universal.Torrent

Private Properties

프로퍼티 타입 설명
AddRange void
BeginGetResponse void
CompleteTransfer int
CreateWebRequests void
DecodeMessages List
DoReceive void
GotResponse void
ReceivedChunk void
RequestCompleted void

공개 메소드들

메소드 설명
BeginConnect ( AsyncCallback callback, object state ) : IAsyncResult
BeginReceive ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginSend ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
ConnectAsync ( CancellationToken token ) : Task
Dispose ( ) : void
EndConnect ( IAsyncResult result ) : void
EndReceive ( IAsyncResult result ) : int
EndSend ( IAsyncResult result ) : int
HttpConnection ( Uri uri ) : System
ReceiveAsync ( byte buffer, int offset, int count ) : Task
SendAsync ( byte buffer, int offset, int count ) : Task

비공개 메소드들

메소드 설명
AddRange ( WebRequest request, long startOffset, long endOffset ) : void
BeginGetResponse ( WebRequest request, AsyncCallback callback, object state ) : void
CompleteTransfer ( IAsyncResult supplied, HttpResult expected ) : int
CreateWebRequests ( RequestMessage start, RequestMessage end ) : void
DecodeMessages ( byte buffer, int offset, int count ) : List
DoReceive ( ) : void
GotResponse ( IAsyncResult result ) : void
ReceivedChunk ( IAsyncResult result ) : void
RequestCompleted ( ) : void

메소드 상세

BeginConnect() 공개 메소드

public BeginConnect ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceive() 공개 메소드

public BeginReceive ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

BeginSend() 공개 메소드

public BeginSend ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
리턴 IAsyncResult

ConnectAsync() 공개 메소드

public ConnectAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
리턴 Task

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EndConnect() 공개 메소드

public EndConnect ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult result ) : int
result IAsyncResult
리턴 int

EndSend() 공개 메소드

public EndSend ( IAsyncResult result ) : int
result IAsyncResult
리턴 int

HttpConnection() 공개 메소드

public HttpConnection ( Uri uri ) : System
uri System.Uri
리턴 System

ReceiveAsync() 공개 메소드

public ReceiveAsync ( byte buffer, int offset, int count ) : Task
buffer byte
offset int
count int
리턴 Task

SendAsync() 공개 메소드

public SendAsync ( byte buffer, int offset, int count ) : Task
buffer byte
offset int
count int
리턴 Task