C# Класс DBreeze.Storage.RemoteInstance.RemoteInstanceCommander

Показать файл Открыть проект

Открытые методы

Метод Описание
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