C# Class OctoTorrent.Client.Connections.IPV4Connection

Inheritance: IConnection
显示文件 Open project: Eskat0n/OctoTorrent

Private Properties

Property Type Description
IPV4Connection System

Public Methods

Method Description
BeginConnect ( AsyncCallback peerEndCreateConnection, object state ) : IAsyncResult
BeginReceive ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object state ) : IAsyncResult
BeginSend ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object state ) : IAsyncResult
Dispose ( ) : void
EndConnect ( IAsyncResult result ) : void
EndReceive ( IAsyncResult result ) : int
EndSend ( IAsyncResult result ) : int
IPV4Connection ( IPEndPoint endPoint ) : System
IPV4Connection ( Socket socket, bool isIncoming ) : System
IPV4Connection ( Uri uri ) : System

Private Methods

Method Description
IPV4Connection ( Socket socket, IPEndPoint endpoint, bool isIncoming ) : System

Method Details

BeginConnect() public method

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

BeginReceive() public method

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

BeginSend() public method

public BeginSend ( byte buffer, int offset, int count, AsyncCallback asyncCallback, object state ) : IAsyncResult
buffer byte
offset int
count int
asyncCallback 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

IPV4Connection() public method

public IPV4Connection ( IPEndPoint endPoint ) : System
endPoint System.Net.IPEndPoint
return System

IPV4Connection() public method

public IPV4Connection ( Socket socket, bool isIncoming ) : System
socket Socket
isIncoming bool
return System

IPV4Connection() public method

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