C# 클래스 CqlSharp.Protocol.Frame

A Cassandra protocol data packet
상속: IDisposable
파일 보기 프로젝트 열기: reuzel/CqlSharp 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
Reader FrameReader

공개 메소드들

메소드 설명
Dispose ( ) : void
GetFrameBytes ( bool compress, int compressTreshold ) : PoolMemoryStream

Gets the frame bytes.

WaitOnBodyRead ( ) : Task

Completes when the frame body is read

보호된 메소드들

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

Initialize frame contents from the stream

WriteData ( Stream buffer ) : void

Writes the data to buffer.

비공개 메소드들

메소드 설명
FromStream ( Stream stream ) : Task

Reads a packet from a stream.

GetFrameFromOpcode ( byte protocolVersion, FrameOpcode opcode ) : Frame

Gets the frame from opcode.

PrepareAndInitializeContentAsync ( ) : Task

Prepares the reader/content and initializes content asynchronous.

ReadFrameContentAsync ( ) : Task

Reads the frame content asynchronous.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetFrameBytes() 공개 메소드

Gets the frame bytes.
public GetFrameBytes ( bool compress, int compressTreshold ) : PoolMemoryStream
compress bool
compressTreshold int
리턴 CqlSharp.Memory.PoolMemoryStream

InitializeAsync() 보호된 추상적인 메소드

Initialize frame contents from the stream
protected abstract InitializeAsync ( ) : Task
리턴 Task

WaitOnBodyRead() 공개 메소드

Completes when the frame body is read
public WaitOnBodyRead ( ) : Task
리턴 Task

WriteData() 보호된 추상적인 메소드

Writes the data to buffer.
protected abstract WriteData ( Stream buffer ) : void
buffer Stream The buffer.
리턴 void

프로퍼티 상세

Reader 보호되어 있는 프로퍼티

Stream holding Frame content
protected FrameReader,CqlSharp.Protocol Reader
리턴 FrameReader