C# 클래스 WebSocket.Portable.Net.TcpConnectionBase

상속: ITcpConnection
파일 보기 프로젝트 열기: NVentimiglia/WebSocket.Portable

공개 메소드들

메소드 설명
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ReadAsync ( byte buffer, int offset, int length ) : Task

Receives data asynchronous.

ReadAsync ( byte buffer, int offset, int length, CancellationToken cancellationToken ) : Task

Receives data asynchronous.

ReadLineAsync ( ) : Task

Receives a line asynchronous.

ReadLineAsync ( CancellationToken cancellationToken ) : Task

Receives a line asynchronous.

WriteAsync ( byte buffer, int offset, int length ) : Task

Sends data asynchronous.

WriteAsync ( byte buffer, int offset, int length, CancellationToken cancellationToken ) : Task

Sends data asynchronous.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

메소드 상세

Dispose() 공개 메소드

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

ReadAsync() 공개 메소드

Receives data asynchronous.
public ReadAsync ( byte buffer, int offset, int length ) : Task
buffer byte The buffer.
offset int The offset.
length int The length.
리턴 Task

ReadAsync() 공개 추상적인 메소드

Receives data asynchronous.
public abstract ReadAsync ( byte buffer, int offset, int length, CancellationToken cancellationToken ) : Task
buffer byte The buffer.
offset int The offset.
length int The length.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task

ReadLineAsync() 공개 메소드

Receives a line asynchronous.
public ReadLineAsync ( ) : Task
리턴 Task

ReadLineAsync() 공개 추상적인 메소드

Receives a line asynchronous.
public abstract ReadLineAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task

WriteAsync() 공개 메소드

Sends data asynchronous.
public WriteAsync ( byte buffer, int offset, int length ) : Task
buffer byte The buffer.
offset int The offset.
length int The length.
리턴 Task

WriteAsync() 공개 추상적인 메소드

Sends data asynchronous.
public abstract WriteAsync ( byte buffer, int offset, int length, CancellationToken cancellationToken ) : Task
buffer byte The buffer.
offset int The offset.
length int The length.
cancellationToken System.Threading.CancellationToken The cancellation token.
리턴 Task