com.google.gwt.user.client.rpc
Interface SerializationStreamObjectDecoder

All Known Implementing Classes:
SerializationStream

public interface SerializationStreamObjectDecoder

Interface for controlling how objects are decoded from a serialization stream.


Method Summary
 StringTable getStringTable()
          Get the string table associated with this decoder.
 String nextInstance(SerializationStreamReader stream)
          Get's the binary name of the next instance in the serialization stream.
 Object prevInstance(SerializationStreamReader stream)
          See if the next method in the stream is a previously seen method.
 void rememberDecodedObject(Object instance)
          Save this instance in case it is ferenced later on in the stream.
 

Method Detail

getStringTable

public StringTable getStringTable()
Get the string table associated with this decoder.

Returns:

nextInstance

public String nextInstance(SerializationStreamReader stream)
Get's the binary name of the next instance in the serialization stream.


prevInstance

public Object prevInstance(SerializationStreamReader stream)
See if the next method in the stream is a previously seen method. If it is then we return it. If not we return null.


rememberDecodedObject

public void rememberDecodedObject(Object instance)
Save this instance in case it is ferenced later on in the stream.

Parameters:
instance - - object that we want to be able to recall via prevInstance.


This javadoc distribution was not produced by Google. The official documentation is here.