C# 클래스 Helios.Net.Transports.TransportBase

상속: ITransport
파일 보기 프로젝트 열기: helios-io/helios

공개 메소드들

메소드 설명
Flush ( ) : void
FlushAsync ( ) : Task
FlushAsync ( CancellationToken token ) : Task
Peek ( ) : bool
Read ( byte buffer, int offset, int length ) : int
ReadAll ( byte buffer, int offset, int length ) : int
ReadAllAsync ( byte buffer, int offset, int length ) : Task
ReadAllAsync ( byte buffer, int offset, int length, CancellationToken token ) : Task
ReadAsync ( byte buffer, int offset, int length ) : Task
ReadAsync ( byte buffer, int offset, int length, CancellationToken token ) : Task
Write ( byte buffer ) : void
Write ( byte buffer, int offset, int length ) : void
WriteAsync ( byte buffer ) : Task
WriteAsync ( byte buffer, CancellationToken token ) : Task
WriteAsync ( byte buffer, int offset, int length ) : Task
WriteAsync ( byte buffer, int offset, int length, CancellationToken token ) : Task

메소드 상세

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

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

public abstract FlushAsync ( ) : Task
리턴 Task

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

public abstract FlushAsync ( CancellationToken token ) : Task
token System.Threading.CancellationToken
리턴 Task

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

public abstract Peek ( ) : bool
리턴 bool

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

public abstract Read ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
리턴 int

ReadAll() 공개 메소드

public ReadAll ( byte buffer, int offset, int length ) : int
buffer byte
offset int
length int
리턴 int

ReadAllAsync() 공개 메소드

public ReadAllAsync ( byte buffer, int offset, int length ) : Task
buffer byte
offset int
length int
리턴 Task

ReadAllAsync() 공개 메소드

public ReadAllAsync ( byte buffer, int offset, int length, CancellationToken token ) : Task
buffer byte
offset int
length int
token System.Threading.CancellationToken
리턴 Task

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

public abstract ReadAsync ( byte buffer, int offset, int length ) : Task
buffer byte
offset int
length int
리턴 Task

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

public abstract ReadAsync ( byte buffer, int offset, int length, CancellationToken token ) : Task
buffer byte
offset int
length int
token System.Threading.CancellationToken
리턴 Task

Write() 공개 메소드

public Write ( byte buffer ) : void
buffer byte
리턴 void

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

public abstract Write ( byte buffer, int offset, int length ) : void
buffer byte
offset int
length int
리턴 void

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

public abstract WriteAsync ( byte buffer ) : Task
buffer byte
리턴 Task

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

public abstract WriteAsync ( byte buffer, CancellationToken token ) : Task
buffer byte
token System.Threading.CancellationToken
리턴 Task

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

public abstract WriteAsync ( byte buffer, int offset, int length ) : Task
buffer byte
offset int
length int
리턴 Task

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

public abstract WriteAsync ( byte buffer, int offset, int length, CancellationToken token ) : Task
buffer byte
offset int
length int
token System.Threading.CancellationToken
리턴 Task