Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

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

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

Package Attributes

Streamable st

Private Attributes

String className
String uniqueID

Static Private Attributes

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.


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.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:56:36 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5