public abstract class

AbstractSerializationStreamReader

extends AbstractSerializationStream
implements SerializationStreamReader
java.lang.Object
   ↳ com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
     ↳ com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader
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

[Expand]
Inherited Constants
From class com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
Public Constructors
AbstractSerializationStreamReader()
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()
Protected Methods
abstract Object deserialize(String typeSignature)
Deserialize an object with the given type signature.
abstract String getString(int index)
Gets a string out of the string table.
final void rememberDecodedObject(int index, Object o)
final int reserveDecodedObjectIndex()
[Expand]
Inherited Methods
From class com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
From class java.lang.Object
From interface com.google.gwt.user.client.rpc.SerializationStreamReader

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
Returns
  • the deserialized object

protected abstract String getString (int index)

Gets a string out of the string table.

Parameters
index the index of the string to get
Returns
  • the string

protected final void rememberDecodedObject (int index, Object o)

protected final int reserveDecodedObjectIndex ()