C# 클래스 FileFind.Meshwork.Transport.TcpTransport

상속: TransportBase
파일 보기 프로젝트 열기: codebutler/meshwork 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultPort int

공개 메소드들

메소드 설명
Connect ( TransportCallback callback ) : void
Disconnect ( ) : void
Disconnect ( Exception ex ) : void
Receive ( byte buffer, int offset, int size ) : int
Send ( byte buffer, int offset, int size ) : int
TcpTransport ( IPAddress address, int port, ulong connectionType ) : System
ToString ( ) : string

비공개 메소드들

메소드 설명
OnConnected ( IAsyncResult result ) : void
TcpTransport ( Socket socket ) : System

메소드 상세

Connect() 공개 메소드

public Connect ( TransportCallback callback ) : void
callback TransportCallback
리턴 void

Disconnect() 공개 메소드

public Disconnect ( ) : void
리턴 void

Disconnect() 공개 메소드

public Disconnect ( Exception ex ) : void
ex System.Exception
리턴 void

Receive() 공개 메소드

public Receive ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
리턴 int

Send() 공개 메소드

public Send ( byte buffer, int offset, int size ) : int
buffer byte
offset int
size int
리턴 int

TcpTransport() 공개 메소드

public TcpTransport ( IPAddress address, int port, ulong connectionType ) : System
address System.Net.IPAddress
port int
connectionType ulong
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

DefaultPort 공개적으로 정적으로 프로퍼티

public static int DefaultPort
리턴 int