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
abstractprotected int
addString(String string) Add a string to the string table and return its index.
abstractprotected void
append(String token) Append a token to the underlying output buffer.
Append a token to the underlying output buffer.
Parameters: token - the token to append
getIndexForObject
abstractprotected int getIndexForObject(Object instance)(Code)
Get the index for an object that may have previously been saved via
AbstractSerializationStreamWriter.saveIndexForObject(Object) .
Parameters: instance - the object to save the index associated with this object, or -1 if this object hasn'tbeen seen before
Serialize an object into the stream.
Parameters: instance - the object to serialize Parameters: typeSignature - the type signature of the object throws: SerializationException -
Fields inherited from com.google.gwt.user.client.rpc.impl.AbstractSerializationStream
final public static int SERIALIZATION_STREAM_FLAGS_NO_TYPE_VERSIONING(Code)(Java Doc) final public static int SERIALIZATION_STREAM_VERSION(Code)(Java Doc) final public static int SERIALIZATION_STREAM_VERSION_WITHOUT_SERIALIZATION_POLICY(Code)(Java Doc)
Methods inherited from com.google.gwt.user.client.rpc.impl.AbstractSerializationStream