com.google.gwt.user.client.rpc.impl
Class AbstractSerializationStreamReader
java.lang.Object
com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
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.
|
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSerializationStreamReader
public AbstractSerializationStreamReader()
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