Documentation Set for Swarm 2.2
Prev | Reference I. Defobj Library | Next

# Archiver

## Name

Archiver -- High level abstract serialization interface.

## Description

High level abstract serialization interface.

## Protocols adopted by Archiver

Create Drop RETURNABLE

## Methods

### Phase: Creating

- - setDefaultAppPath
  Specify that the Archiver to use the default application path

- - setDefaultPath
  Specify that the Archiver instance use the default system path

- - setSystemArchiverFlag: (BOOL)systemArchiverFlag
  Make the Archiver expect application metadata, such as `mode' information

- - setPath: (const char *)path
  Set the physical path for the Archiver to read/write

- - setInhibitLoadFlag: (BOOL)inhibitLoadFlag
  Make the Archiver ignore any file found in the specified path

### Phase: Using

- - (void)sync
  Ensure that that all registered the requested backend

- - getWithZone: (id <Zone>)aZone key: (const char *)key
  Create the object with `key' in the specified Zone

- - getObject: (const char *)key
  Create the object with `key' using the Archiver's own Zone

- - (void)putShallow: (const char *)key object: object
  As per -putDeep, but only make a shallow version

- - (void)putDeep: (const char *)key object: object
  Register with the Archiver a deep serialization of the object (serialization only occurs when Archiver is saved)

- - (void)unregisterClient: client

- - (void)registerClient: client

Prev | Home | Next
Defobj Library | Up | Arguments