C# 클래스 CmisSync.Lib.Streams.PausableStream

Pausable stream takes the given stream and causes the reading or writing thread to pause if pause is called until resume is called.
상속: StreamWrapper
파일 보기 프로젝트 열기: OpenDataSpace/CmisSync 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
PausableStream ( Stream s ) : System

Initializes a new instance of the CmisSync.Lib.Streams.PausableStream class.

Pause ( ) : void

Pause this stream until resume is called.

Read ( byte buffer, int offset, int count ) : int

Read the specified buffer, offset and count.

Resume ( ) : void

Resume this stream.

Write ( byte buffer, int offset, int count ) : void

Write the specified buffer, offset and count.

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

PausableStream() 공개 메소드

Initializes a new instance of the CmisSync.Lib.Streams.PausableStream class.
public PausableStream ( Stream s ) : System
s Stream Stream which should be wrapped and extended by the possibility to be paused on read or write by another thread.
리턴 System

Pause() 공개 메소드

Pause this stream until resume is called.
public Pause ( ) : void
리턴 void

Read() 공개 메소드

Read the specified buffer, offset and count.
public Read ( byte buffer, int offset, int count ) : int
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
리턴 int

Resume() 공개 메소드

Resume this stream.
public Resume ( ) : void
리턴 void

Write() 공개 메소드

Write the specified buffer, offset and count.
public Write ( byte buffer, int offset, int count ) : void
buffer byte /// Buffer. ///
offset int /// Offset. ///
count int /// Count. ///
리턴 void