|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.openwire.OpenWireFormat
public final class OpenWireFormat
Constructor Summary | |
---|---|
OpenWireFormat()
|
|
OpenWireFormat(int i)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OpenWireFormat()
public OpenWireFormat(int i)
Method Detail |
---|
public int hashCode()
hashCode
in class Object
public OpenWireFormat copy()
public boolean equals(Object object)
equals
in class Object
public String toString()
toString
in class Object
public int getVersion()
getVersion
in interface WireFormat
public ByteSequence marshal(Object command) throws IOException
WireFormat
marshal
in interface WireFormat
IOException
public Object unmarshal(ByteSequence sequence) throws IOException
WireFormat
unmarshal
in interface WireFormat
IOException
public void marshal(Object o, DataOutput dataOut) throws IOException
WireFormat
marshal
in interface WireFormat
IOException
public Object unmarshal(DataInput dis) throws IOException
WireFormat
unmarshal
in interface WireFormat
IOException
public int tightMarshal1(Object o, BooleanStream bs) throws IOException
IOException
public void tightMarshal2(Object o, DataOutput ds, BooleanStream bs) throws IOException
IOException
public void setVersion(int version)
setVersion
in interface WireFormat
version
- public Object doUnmarshal(DataInput dis) throws IOException
IOException
public int tightMarshalNestedObject1(DataStructure o, BooleanStream bs) throws IOException
IOException
public void tightMarshalNestedObject2(DataStructure o, DataOutput ds, BooleanStream bs) throws IOException
IOException
public DataStructure tightUnmarshalNestedObject(DataInput dis, BooleanStream bs) throws IOException
IOException
public DataStructure looseUnmarshalNestedObject(DataInput dis) throws IOException
IOException
public void looseMarshalNestedObject(DataStructure o, DataOutput dataOut) throws IOException
IOException
public void runMarshallCacheEvictionSweep()
public Short getMarshallCacheIndex(DataStructure o)
public Short addToMarshallCache(DataStructure o)
public void setInUnmarshallCache(short index, DataStructure o)
public DataStructure getFromUnmarshallCache(short index)
public void setStackTraceEnabled(boolean b)
public boolean isStackTraceEnabled()
public boolean isTcpNoDelayEnabled()
public void setTcpNoDelayEnabled(boolean tcpNoDelayEnabled)
public boolean isCacheEnabled()
public void setCacheEnabled(boolean cacheEnabled)
public boolean isTightEncodingEnabled()
public void setTightEncodingEnabled(boolean tightEncodingEnabled)
public boolean isSizePrefixDisabled()
public void setSizePrefixDisabled(boolean prefixPacketSize)
public void setPreferedWireFormatInfo(WireFormatInfo info)
public WireFormatInfo getPreferedWireFormatInfo()
public void renegotiateWireFormat(WireFormatInfo info) throws IOException
IOException
protected int min(int version1, int version2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |