C# 클래스 SharpAdbClient.TcpSocket

Implements the ITcpSocket interface using the standard Socket class.
상속: ITcpSocket
파일 보기 프로젝트 열기: ArduPilot/MissionPlanner

공개 메소드들

메소드 설명
Close ( ) : void
Connect ( EndPoint endPoint ) : void
Dispose ( ) : void
GetStream ( ) : Stream
Receive ( byte buffer, int offset, SocketFlags socketFlags ) : int
ReceiveAsync ( byte buffer, int offset, int size, SocketFlags socketFlags, CancellationToken cancellationToken ) : Task
Reconnect ( ) : void
Send ( byte buffer, int offset, int size, SocketFlags socketFlags ) : int
TcpSocket ( ) : Mono.Unix

Initializes a new instance of the TcpSocket class.

비공개 메소드들

메소드 설명
CreateSocket ( EndPoint endPoint ) : Socket

Creates a new, uninitialized socket which can connect to an ADB server.

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Connect() 공개 메소드

public Connect ( EndPoint endPoint ) : void
endPoint System.Net.EndPoint
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetStream() 공개 메소드

public GetStream ( ) : Stream
리턴 Stream

Receive() 공개 메소드

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

ReceiveAsync() 공개 메소드

public ReceiveAsync ( byte buffer, int offset, int size, SocketFlags socketFlags, CancellationToken cancellationToken ) : Task
buffer byte
offset int
size int
socketFlags SocketFlags
cancellationToken System.Threading.CancellationToken
리턴 Task

Reconnect() 공개 메소드

public Reconnect ( ) : void
리턴 void

Send() 공개 메소드

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

TcpSocket() 공개 메소드

Initializes a new instance of the TcpSocket class.
public TcpSocket ( ) : Mono.Unix
리턴 Mono.Unix