C# Class Versionr.ObjectStore.ObjectStoreBase

Mostra file Open project: eatplayhate/versionr

Public Methods

Method Description
AbortStorageTransaction ( ObjectStoreTransaction transaction ) : bool
BeginStorageTransaction ( ) : ObjectStoreTransaction
Create ( Area owner ) : void
EndStorageTransaction ( ObjectStoreTransaction transaction ) : bool
FlushStorageTransaction ( ObjectStoreTransaction transaction ) : bool
GetRecordStream ( System.Objects record ) : Stream
GetTransmissionLength ( Record record ) : long
HasData ( System.Objects recordInfo, List &requestedData ) : bool
HasData ( Record recordInfo ) : bool
HasDataDirect ( string x, List &requestedData ) : bool
Open ( Area owner ) : bool
ReceiveRecordData ( ObjectStoreTransaction transaction, string directName, System dataStream, string &dependency ) : bool
RecordData ( ObjectStoreTransaction transaction, System.Objects newRecord, System.Objects priorRecord, Entry fileEntry ) : bool
TransmitRecordData ( Record record, Func sender, byte scratchBuffer, System.Action beginTransmission = null ) : bool
WriteRecordStream ( Record rec, System outputStream ) : void

Private Methods

Method Description
GetEntryCount ( ) : long
GetInfo ( Record x ) : RecordInfo

Method Details

AbortStorageTransaction() public abstract method

public abstract AbortStorageTransaction ( ObjectStoreTransaction transaction ) : bool
transaction ObjectStoreTransaction
return bool

BeginStorageTransaction() public abstract method

public abstract BeginStorageTransaction ( ) : ObjectStoreTransaction
return ObjectStoreTransaction

Create() public abstract method

public abstract Create ( Area owner ) : void
owner Area
return void

EndStorageTransaction() public abstract method

public abstract EndStorageTransaction ( ObjectStoreTransaction transaction ) : bool
transaction ObjectStoreTransaction
return bool

FlushStorageTransaction() public abstract method

public abstract FlushStorageTransaction ( ObjectStoreTransaction transaction ) : bool
transaction ObjectStoreTransaction
return bool

GetRecordStream() public abstract method

public abstract GetRecordStream ( System.Objects record ) : Stream
record System.Objects
return System.IO.Stream

GetTransmissionLength() public abstract method

public abstract GetTransmissionLength ( Record record ) : long
record Versionr.Objects.Record
return long

HasData() public abstract method

public abstract HasData ( System.Objects recordInfo, List &requestedData ) : bool
recordInfo System.Objects
requestedData List
return bool

HasData() public method

public HasData ( Record recordInfo ) : bool
recordInfo Versionr.Objects.Record
return bool

HasDataDirect() public abstract method

public abstract HasDataDirect ( string x, List &requestedData ) : bool
x string
requestedData List
return bool

Open() public abstract method

public abstract Open ( Area owner ) : bool
owner Area
return bool

ReceiveRecordData() public abstract method

public abstract ReceiveRecordData ( ObjectStoreTransaction transaction, string directName, System dataStream, string &dependency ) : bool
transaction ObjectStoreTransaction
directName string
dataStream System
dependency string
return bool

RecordData() public abstract method

public abstract RecordData ( ObjectStoreTransaction transaction, System.Objects newRecord, System.Objects priorRecord, Entry fileEntry ) : bool
transaction ObjectStoreTransaction
newRecord System.Objects
priorRecord System.Objects
fileEntry Entry
return bool

TransmitRecordData() public abstract method

public abstract TransmitRecordData ( Record record, Func sender, byte scratchBuffer, System.Action beginTransmission = null ) : bool
record Versionr.Objects.Record
sender Func
scratchBuffer byte
beginTransmission System.Action
return bool

WriteRecordStream() public abstract method

public abstract WriteRecordStream ( Record rec, System outputStream ) : void
rec Versionr.Objects.Record
outputStream System
return void