Sct.SerializableWrapper Class Reference

Wraps a Streamable and makes it Serializable Has a number of options for controlling it. More...

Inheritance diagram for Sct.SerializableWrapper:

Inheritance graph
[legend]
Collaboration diagram for Sct.SerializableWrapper:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SerializableWrapper (Streamable s)
 Constructs a SerializableWrapper from a Streamable.
 SerializableWrapper (Streamable s, String uniqueID, String className)
 Creates a SerializableWrapper with.
String getClassName ()
String getUniqueID ()
void write (OStream s, ObjectManager o) throws java.io.IOException
Streamable get ()

Static Public Member Functions

static SerializableWrapper read (IStream in, ObjectManager o) throws java.io.IOException

Package Attributes

Streamable st

Private Attributes

String className
String uniqueID

Static Private Attributes

static int count = 0

Detailed Description

Wraps a Streamable and makes it Serializable Has a number of options for controlling it.

Author:
Matthew Palmer

Definition at line 14 of file SerializableWrapper.java.


Constructor & Destructor Documentation

Sct.SerializableWrapper.SerializableWrapper Streamable  s  ) 
 

Constructs a SerializableWrapper from a Streamable.

It creates an internal unique ID and uses the name of this class as its class name.

Definition at line 21 of file SerializableWrapper.java.

References Sct.SerializableWrapper.className, Sct.SerializableWrapper.count, and Sct.SerializableWrapper.uniqueID.

Referenced by Sct.SerializableWrapper.read().


Member Function Documentation

String Sct.SerializableWrapper.getUniqueID  ) 
 

Returns:
a String which uniquely identifies this object.

Implements Sct.Serializable.

Definition at line 40 of file SerializableWrapper.java.

References Sct.SerializableWrapper.uniqueID.


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