C# Class OctoTorrent.SampleClient.CustomConnection

Inheritance: IConnection
Exibir arquivo Open project: Eskat0n/OctoTorrent

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
CustomConnection ( Socket socket, bool incoming, string name ) : Common.System
Dispose ( ) : void
EndConnect ( IAsyncResult result ) : void
EndReceive ( IAsyncResult result ) : int
EndSend ( IAsyncResult result ) : int
ToString ( ) : string

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

CustomConnection() public method

public CustomConnection ( Socket socket, bool incoming, string name ) : Common.System
socket Socket
incoming bool
name string
return Common.System

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

ToString() public method

public ToString ( ) : string
return string