C# Class FileFind.Meshwork.FileTransfer.BitTorrent.TorrentConnection

Inheritance: IConnection
Show file Open project: codebutler/meshwork Class Usage Examples

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
TorrentConnection ( ITransport transport ) : System

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

TorrentConnection() public method

public TorrentConnection ( ITransport transport ) : System
transport ITransport
return System