public abstract class AbstractSerializationStream extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_FLAGS
The default flags to be used by serialization streams.
|
static int |
FLAG_ELIDE_TYPE_NAMES
Indicates that obfuscated type names should be used in the RPC payload.
|
static int |
FLAG_RPC_TOKEN_INCLUDED
Indicates that RPC token is included in the RPC payload.
|
static char |
RPC_SEPARATOR_CHAR
The character used to separate fields in client->server RPC messages.
|
static int |
SERIALIZATION_STREAM_MIN_VERSION
The oldest supported RPC protocol version.
|
static int |
SERIALIZATION_STREAM_VERSION
The current RPC protocol version.
|
static int |
VALID_FLAGS_MASK
Bit mask representing all valid flags.
|
Constructor and Description |
---|
AbstractSerializationStream() |
Modifier and Type | Method and Description |
---|---|
void |
addFlags(int flags) |
boolean |
areFlagsValid()
Checks if flags are valid.
|
int |
getFlags() |
int |
getVersion() |
boolean |
hasFlags(int flags) |
void |
setFlags(int flags) |
protected void |
setVersion(int version) |
public static final int DEFAULT_FLAGS
public static final char RPC_SEPARATOR_CHAR
ServerSerializationStreamWriter
.deserializeStringTable
ClientSerializationStreamReader
.getQuotingRegex
public static final int SERIALIZATION_STREAM_VERSION
public static final int SERIALIZATION_STREAM_MIN_VERSION
public static final int FLAG_ELIDE_TYPE_NAMES
public static final int FLAG_RPC_TOKEN_INCLUDED
public static final int VALID_FLAGS_MASK
public final void addFlags(int flags)
public final boolean areFlagsValid()
true
if flags are valid and false
otherwise.public final int getFlags()
public final int getVersion()
public final boolean hasFlags(int flags)
public final void setFlags(int flags)
protected final void setVersion(int version)
Copyright © 2018. All rights reserved.