C# Class Universal.Torrent.Client.PeerConnections.TCPConnection

Inheritance: IConnection
Afficher le fichier Open project: haroldma/Universal.Torrent Class Usage Examples

Private Properties

Свойство Type Description
TCPConnection System

Méthodes publiques

Méthode 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
ConnectAsync ( CancellationToken token ) : Task
Dispose ( ) : void
EndConnect ( IAsyncResult result ) : void
EndReceive ( IAsyncResult result ) : int
EndSend ( IAsyncResult result ) : int
ReceiveAsync ( byte buffer, int offset, int count ) : Task
SendAsync ( byte buffer, int offset, int count ) : Task
TCPConnection ( StreamSocket socket, bool isIncoming ) : System
TCPConnection ( Uri uri ) : System

Private Methods

Méthode Description
TCPConnection ( StreamSocket socket, IPEndPoint endpoint, bool isIncoming ) : System

Method Details

BeginConnect() public méthode

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

BeginReceive() public méthode

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

BeginSend() public méthode

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

ConnectAsync() public méthode

public ConnectAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
Résultat Task

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

ReceiveAsync() public méthode

public ReceiveAsync ( byte buffer, int offset, int count ) : Task
buffer byte
offset int
count int
Résultat Task

SendAsync() public méthode

public SendAsync ( byte buffer, int offset, int count ) : Task
buffer byte
offset int
count int
Résultat Task

TCPConnection() public méthode

public TCPConnection ( StreamSocket socket, bool isIncoming ) : System
socket Windows.Networking.Sockets.StreamSocket
isIncoming bool
Résultat System

TCPConnection() public méthode

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