Methods
Modifier and Type |
Method and Description |
Short |
addToMarshallCache(DataStructure o) |
OpenWireFormat |
copy() |
Object |
doUnmarshal(DataInput dis) |
boolean |
equals(Object object) |
DataStructure |
getFromUnmarshallCache(short index) |
Short |
getMarshallCacheIndex(DataStructure o) |
long |
getMaxFrameSize() |
WireFormatInfo |
getPreferedWireFormatInfo() |
int |
getVersion() |
int |
hashCode() |
boolean |
isCacheEnabled() |
boolean |
isSizePrefixDisabled() |
boolean |
isStackTraceEnabled() |
boolean |
isTcpNoDelayEnabled() |
boolean |
isTightEncodingEnabled() |
void |
looseMarshalNestedObject(DataStructure o,
DataOutput dataOut) |
DataStructure |
looseUnmarshalNestedObject(DataInput dis) |
ByteSequence |
marshal(Object command)
Packet based marshaling
|
void |
marshal(Object o,
DataOutput dataOut)
Stream based marshaling
|
protected int |
min(int version1,
int version2) |
protected long |
min(long version1,
long version2) |
void |
renegotiateWireFormat(WireFormatInfo info) |
void |
runMarshallCacheEvictionSweep() |
void |
setCacheEnabled(boolean cacheEnabled) |
void |
setInUnmarshallCache(short index,
DataStructure o) |
void |
setMaxFrameSize(long maxFrameSize) |
void |
setPreferedWireFormatInfo(WireFormatInfo info) |
void |
setSizePrefixDisabled(boolean prefixPacketSize) |
void |
setStackTraceEnabled(boolean b) |
void |
setTcpNoDelayEnabled(boolean tcpNoDelayEnabled) |
void |
setTightEncodingEnabled(boolean tightEncodingEnabled) |
void |
setVersion(int version)
Allows you to dynamically switch the version of the openwire protocol
being used.
|
int |
tightMarshal1(Object o,
BooleanStream bs)
Used by NIO or AIO transports
|
void |
tightMarshal2(Object o,
DataOutput ds,
BooleanStream bs)
Used by NIO or AIO transports; note that the size is not written as part
of this method.
|
int |
tightMarshalNestedObject1(DataStructure o,
BooleanStream bs) |
void |
tightMarshalNestedObject2(DataStructure o,
DataOutput ds,
BooleanStream bs) |
DataStructure |
tightUnmarshalNestedObject(DataInput dis,
BooleanStream bs) |
String |
toString() |
Object |
unmarshal(ByteSequence sequence)
Packet based un-marshaling
|
Object |
unmarshal(DataInput dis)
Packet based un-marshaling
|