Sct.ISProxy.ObjectManagerISProxy Class Reference

Handles reading and writing of objects using a proxy. More...

Inheritance diagram for Sct.ISProxy.ObjectManagerISProxy:

Inheritance graph
[legend]
Collaboration diagram for Sct.ISProxy.ObjectManagerISProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Name writeObject (Serializable object) throws java.io.IOException
 Write a Serializable object.
void writeObject (OStream s, String name, Streamable object, boolean writeClassName) throws java.io.IOException
 A simple implementation - if writeClassName, calls writeClassName to write the className then class object.write(OStream s, this).

Static Public Member Functions

static ObjectManagerISProxy instance ()

Private Member Functions

 ObjectManagerISProxy ()
 Creates a new instance of ObjectManagerISProxy.

Static Private Attributes

static ObjectManagerISProxy instance

Detailed Description

Handles reading and writing of objects using a proxy.

This means that the object is written to a file using Sct.File.ObjectManagerFile but an ISProxy object that points to it is written to IS using Sct.IS.ObjectManagerIS.

The basic semantics are: If asked to write a top-level object,, write it to a File, and write a proxy to IS

Author:
Matthew Palmer

Definition at line 24 of file ObjectManagerISProxy.java.


Member Function Documentation

Name Sct.ISProxy.ObjectManagerISProxy.writeObject Serializable  object  )  throws java.io.IOException
 

Write a Serializable object.

Todo:
Should this take an extra back-end dependant parameter?
Returns:
a Name object that can be used to read the written object
Exceptions:
IOException if a problem occurs during IO

Reimplemented from Sct.IS.ObjectManagerIS.

Definition at line 32 of file ObjectManagerISProxy.java.


The documentation for this class was generated from the following file:
Generated on Mon Feb 6 14:14:59 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6