C# 클래스 DBreeze.Storage.RemoteInstance.RemoteInstanceCommander

파일 보기 프로젝트 열기: hhblaze/DBreeze

공개 메소드들

메소드 설명
CloseRemoteTable ( ) : void

CloseRemoteTable, returns nothing

DataFileFlush ( ) : void

Data file Flush

DataFileRead ( byte array, int offset, int count ) : int

Reads Datafile

DataFileWrite ( byte array, int offset, int count, bool withFlush ) : void

Writes to remote data file, return sets DataFileLength

DeleteRemoteTable ( ) : void

DeleteRemoteTable

OpenRemoteTable ( string tableName ) : void

Always first command, which send table name and receives back RemoteTableId Opens remote table (data, rollback and rollback helper files), if it doesn't exists, then creates it. All other operations are based on this RemoteTableId.

RemoteInstanceCommander ( IRemoteInstanceCommunicator communicator ) : System
RollbackFileFlush ( ) : void

Rollback file flush

RollbackFileRead ( byte array, int offset, int count ) : int

RollbackFileRead

RollbackFileRecreate ( ) : void

RollbackFileRecreate

RollbackFileWrite ( byte array, int offset, int count, bool withFlush ) : void

Writes to remote rollback file, return sets RollbackFileLength

RollbackHelperFileRead ( byte array, int offset, int count ) : int

RollbackHelperFileRead

RollbackHelperFileWrite ( byte array, int offset, int count, bool withFlush ) : void

Writes to remote rollback helper file, return sets RollbackFileHelperLength

메소드 상세

CloseRemoteTable() 공개 메소드

CloseRemoteTable, returns nothing
public CloseRemoteTable ( ) : void
리턴 void

DataFileFlush() 공개 메소드

Data file Flush
public DataFileFlush ( ) : void
리턴 void

DataFileRead() 공개 메소드

Reads Datafile
public DataFileRead ( byte array, int offset, int count ) : int
array byte
offset int
count int
리턴 int

DataFileWrite() 공개 메소드

Writes to remote data file, return sets DataFileLength
public DataFileWrite ( byte array, int offset, int count, bool withFlush ) : void
array byte
offset int
count int
withFlush bool
리턴 void

DeleteRemoteTable() 공개 메소드

DeleteRemoteTable
public DeleteRemoteTable ( ) : void
리턴 void

OpenRemoteTable() 공개 메소드

Always first command, which send table name and receives back RemoteTableId Opens remote table (data, rollback and rollback helper files), if it doesn't exists, then creates it. All other operations are based on this RemoteTableId.
public OpenRemoteTable ( string tableName ) : void
tableName string
리턴 void

RemoteInstanceCommander() 공개 메소드

public RemoteInstanceCommander ( IRemoteInstanceCommunicator communicator ) : System
communicator IRemoteInstanceCommunicator
리턴 System

RollbackFileFlush() 공개 메소드

Rollback file flush
public RollbackFileFlush ( ) : void
리턴 void

RollbackFileRead() 공개 메소드

RollbackFileRead
public RollbackFileRead ( byte array, int offset, int count ) : int
array byte
offset int
count int
리턴 int

RollbackFileRecreate() 공개 메소드

RollbackFileRecreate
public RollbackFileRecreate ( ) : void
리턴 void

RollbackFileWrite() 공개 메소드

Writes to remote rollback file, return sets RollbackFileLength
public RollbackFileWrite ( byte array, int offset, int count, bool withFlush ) : void
array byte
offset int
count int
withFlush bool
리턴 void

RollbackHelperFileRead() 공개 메소드

RollbackHelperFileRead
public RollbackHelperFileRead ( byte array, int offset, int count ) : int
array byte
offset int
count int
리턴 int

RollbackHelperFileWrite() 공개 메소드

Writes to remote rollback helper file, return sets RollbackFileHelperLength
public RollbackHelperFileWrite ( byte array, int offset, int count, bool withFlush ) : void
array byte
offset int
count int
withFlush bool
리턴 void