com.google.gwt.user.client.rpc.impl
Class AbstractSerializationStreamReader

java.lang.Object
  extended by com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
      extended by com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader
All Implemented Interfaces:
SerializationStreamReader
Direct Known Subclasses:
ClientSerializationStreamReader, ServerSerializationStreamReader

public abstract class AbstractSerializationStreamReader
extends AbstractSerializationStream
implements SerializationStreamReader

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.


Field Summary
 
Fields inherited from class com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
DEFAULT_FLAGS, FLAG_ELIDE_TYPE_NAMES, RPC_SEPARATOR_CHAR, SERIALIZATION_STREAM_MIN_VERSION, SERIALIZATION_STREAM_VERSION
 
Constructor Summary
AbstractSerializationStreamReader()
           
 
Method Summary
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(java.lang.String encoded)
          Prepare to read the stream.
 java.lang.Object readObject()
           
 
Methods inherited from class com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
addFlags, getFlags, getVersion, hasFlags, setFlags
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.gwt.user.client.rpc.SerializationStreamReader
readBoolean, readByte, readChar, readDouble, readFloat, readInt, readLong, readShort, readString
 

Constructor Detail

AbstractSerializationStreamReader

public AbstractSerializationStreamReader()
Method Detail

fromDoubles

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.


prepareToRead

public void prepareToRead(java.lang.String encoded)
                   throws SerializationException
Prepare to read the stream.

Parameters:
encoded - unused true if the stream is encoded
Throws:
SerializationException

readObject

public final java.lang.Object readObject()
                                  throws SerializationException
Specified by:
readObject in interface SerializationStreamReader
Throws:
SerializationException