Authors
- David Chisnall
-
- Declared in:
- ESProxy.h
The ESProxy class is a simple proxy which is responsible
for wrapping a model object being managed by CoreObject.
The object will be serialized as will every message sent
to it, allowing deterministic replay of the object's
entire lifecycle. An object wrapped by this proxy
should be the entry point into an object graph
representing a document, or a major component in
a composite document (e.g. an image in a larger work).
Instance Variables
Method summary
- (id)
initWithObject: (id)anObject
serializer: (Class)aSerializer
forBundle: (
NSURL*)anURL;
Manage anObject, using
aSerializer to for serialization
- (int)
setVersion: (int)aVersion;
Restore to a previous version.
Instance Variables for ESProxy Class
@protected Class backend;
The class of the serializer's back end.
@protected NSURL* baseURL;
The location at which serialized copies of the object
should be stored.
@protected ETSerializer* fullSave;
Serializer used to store full saves
@protected id object;
The real object.
@protected ETSerializer* serializer;
The serializer used to store deltas.
@protected int version;
The current version of the object.