C# 클래스 OctoTorrent.SampleClient.CustomConnection

상속: IConnection
파일 보기 프로젝트 열기: Eskat0n/OctoTorrent

공개 메소드들

메소드 설명
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

메소드 상세

BeginConnect() 공개 메소드

public BeginConnect ( AsyncCallback callback, object state ) : IAsyncResult
callback AsyncCallback
state object
리턴 IAsyncResult

BeginReceive() 공개 메소드

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

BeginSend() 공개 메소드

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

CustomConnection() 공개 메소드

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

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EndConnect() 공개 메소드

public EndConnect ( IAsyncResult result ) : void
result IAsyncResult
리턴 void

EndReceive() 공개 메소드

public EndReceive ( IAsyncResult result ) : int
result IAsyncResult
리턴 int

EndSend() 공개 메소드

public EndSend ( IAsyncResult result ) : int
result IAsyncResult
리턴 int

ToString() 공개 메소드

public ToString ( ) : string
리턴 string