
public final class ClientSerializationStreamReader extends AbstractSerializationStreamReader
DEFAULT_FLAGS, FLAG_ELIDE_TYPE_NAMES, FLAG_RPC_TOKEN_INCLUDED, RPC_SEPARATOR_CHAR, SERIALIZATION_STREAM_JSON_VERSION, SERIALIZATION_STREAM_MAX_VERSION, SERIALIZATION_STREAM_MIN_VERSION, SERIALIZATION_STREAM_VERSION, VALID_FLAGS_MASK| Constructor and Description |
|---|
ClientSerializationStreamReader(Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
deserialize(String typeSignature)
Deserialize an object with the given type signature.
|
protected String |
getString(int index)
Gets a string out of the string table.
|
void |
prepareToRead(String encoded)
Prepare to read the stream.
|
boolean |
readBoolean() |
byte |
readByte() |
char |
readChar() |
double |
readDouble() |
float |
readFloat() |
int |
readInt() |
long |
readLong() |
short |
readShort() |
String |
readString() |
fromDoubles, getDecodedObject, readObject, rememberDecodedObject, reserveDecodedObjectIndexaddFlags, areFlagsValid, getFlags, getVersion, hasFlags, setFlags, setVersionpublic ClientSerializationStreamReader(Serializer serializer)
public void prepareToRead(String encoded) throws SerializationException
AbstractSerializationStreamReaderprepareToRead in class AbstractSerializationStreamReaderencoded - unused true if the stream is encodedSerializationExceptionpublic boolean readBoolean()
public byte readByte()
public char readChar()
public double readDouble()
public float readFloat()
public int readInt()
public long readLong()
public short readShort()
public String readString()
protected Object deserialize(String typeSignature) throws SerializationException
AbstractSerializationStreamReaderdeserialize in class AbstractSerializationStreamReadertypeSignature - the type signature to deserializeSerializationExceptionprotected String getString(int index)
AbstractSerializationStreamReadergetString in class AbstractSerializationStreamReaderindex - the index of the string to getCopyright © 2018. All rights reserved.