Known Direct Subclasses
|
Class Overview
Base class for the client and server serialization streams. This class
handles the basic serialization and deserialization formatting for primitive
types since these are common between the client and the server.
Summary
Public Methods |
static
long
|
fromDoubles(double lowDouble, double highDouble)
Return a long from a pair of doubles { low, high } such that the
actual value is equal to high + low.
|
void
|
prepareToRead(String encoded)
Prepare to read the stream.
|
final
Object
|
readObject()
|
Public Constructors
public
AbstractSerializationStreamReader
()
Public Methods
public
static
long
fromDoubles
(double lowDouble, double highDouble)
Return a long from a pair of doubles { low, high } such that the
actual value is equal to high + low.
public
void
prepareToRead
(String encoded)
Prepare to read the stream.
Parameters
encoded
| unused true if the stream is encoded
|
public
final
Object
readObject
()
Protected Methods
protected
abstract
Object
deserialize
(String typeSignature)
Deserialize an object with the given type signature.
Parameters
typeSignature
| the type signature to deserialize |
protected
abstract
String
getString
(int index)
Gets a string out of the string table.
Parameters
index
| the index of the string to get |
protected
final
void
rememberDecodedObject
(int index, Object o)
protected
final
int
reserveDecodedObjectIndex
()