C# Class OctoTorrent.Client.Connections.HttpConnection

Inheritance: IConnection
Mostra file Open project: Eskat0n/OctoTorrent

Private Properties

Property Type Description
AddRange void
BeginGetResponse void
CompleteTransfer int
CreateWebRequests void
DecodeMessages List
DoReceive void
GotResponse void
ReceivedChunk void
RequestCompleted void

Public Methods

Method 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

Method 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 method

public BeginConnect ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
return IAsyncResult

BeginReceive() public method

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

BeginSend() public method

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

Dispose() public method

public Dispose ( ) : void
return void

EndConnect() public method

public EndConnect ( IAsyncResult result ) : void
result IAsyncResult
return void

EndReceive() public method

public EndReceive ( IAsyncResult result ) : int
result IAsyncResult
return int

EndSend() public method

public EndSend ( IAsyncResult result ) : int
result IAsyncResult
return int

HttpConnection() public method

public HttpConnection ( Uri uri ) : System
uri System.Uri
return System