C# Class OctoTorrent.Client.Connections.HttpConnection

Inheritance: IConnection
Afficher le fichier Open project: Eskat0n/OctoTorrent

Private Properties

Свойство Type Description
AddRange void
BeginGetResponse void
CompleteTransfer int
CreateWebRequests void
DecodeMessages List
DoReceive void
GotResponse void
ReceivedChunk void
RequestCompleted void

Méthodes publiques

Méthode Description
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
Dispose ( ) : void
EndConnect ( IAsyncResult result ) : void
EndReceive ( IAsyncResult result ) : int
EndSend ( IAsyncResult result ) : int
HttpConnection ( Uri uri ) : System

Private Methods

Méthode Description
AddRange ( HttpWebRequest 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

Method Details

BeginConnect() public méthode

public BeginConnect ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
Résultat IAsyncResult

BeginReceive() public méthode

public BeginReceive ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
Résultat IAsyncResult

BeginSend() public méthode

public BeginSend ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
Résultat IAsyncResult

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EndConnect() public méthode

public EndConnect ( IAsyncResult result ) : void
result IAsyncResult
Résultat void

EndReceive() public méthode

public EndReceive ( IAsyncResult result ) : int
result IAsyncResult
Résultat int

EndSend() public méthode

public EndSend ( IAsyncResult result ) : int
result IAsyncResult
Résultat int

HttpConnection() public méthode

public HttpConnection ( Uri uri ) : System
uri System.Uri
Résultat System