public abstract class BaseDataStreamMarshaller extends Object implements org.apache.activemq.openwire.DataStreamMarshaller
| Modifier and Type | Field and Description |
|---|---|
static Constructor |
STACK_TRACE_ELEMENT_CONSTRUCTOR |
| Constructor and Description |
|---|
BaseDataStreamMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
abstract org.apache.activemq.command.DataStructure |
createObject() |
abstract byte |
getDataStructureType() |
void |
looseMarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Object o,
DataOutput dataOut) |
protected void |
looseMarshalByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat,
byte[] data,
DataOutput dataOut) |
protected void |
looseMarshalByteSequence(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.util.ByteSequence data,
DataOutput dataOut) |
protected void |
looseMarshalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure o,
DataOutput dataOut) |
protected void |
looseMarshalConstByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat,
byte[] data,
DataOutput dataOut,
int i) |
void |
looseMarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat,
long o,
DataOutput dataOut) |
protected void |
looseMarshalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure o,
DataOutput dataOut) |
protected void |
looseMarshalObjectArray(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure[] objects,
DataOutput dataOut) |
protected void |
looseMarshalString(String value,
DataOutput dataOut) |
protected void |
looseMarshalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Throwable o,
DataOutput dataOut) |
protected org.apache.activemq.command.DataStructure |
looseUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn) |
protected org.apache.activemq.command.DataStructure |
looseUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn) |
protected Throwable |
looseUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn) |
void |
looseUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Object o,
DataInput dataIn) |
protected byte[] |
looseUnmarshalByteArray(DataInput dataIn) |
protected org.apache.activemq.util.ByteSequence |
looseUnmarshalByteSequence(DataInput dataIn) |
protected byte[] |
looseUnmarshalConstByteArray(DataInput dataIn,
int i) |
long |
looseUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn) |
protected String |
looseUnmarshalString(DataInput dataIn) |
int |
tightMarshal1(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Object o,
org.apache.activemq.openwire.BooleanStream bs) |
void |
tightMarshal2(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Object o,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalByteArray1(byte[] data,
org.apache.activemq.openwire.BooleanStream bs) |
protected void |
tightMarshalByteArray2(byte[] data,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalByteSequence1(org.apache.activemq.util.ByteSequence data,
org.apache.activemq.openwire.BooleanStream bs) |
protected void |
tightMarshalByteSequence2(org.apache.activemq.util.ByteSequence data,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalCachedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure o,
org.apache.activemq.openwire.BooleanStream bs) |
protected void |
tightMarshalCachedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure o,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalConstByteArray1(byte[] data,
org.apache.activemq.openwire.BooleanStream bs,
int i) |
protected void |
tightMarshalConstByteArray2(byte[] data,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs,
int i) |
int |
tightMarshalLong1(org.apache.activemq.openwire.OpenWireFormat wireFormat,
long o,
org.apache.activemq.openwire.BooleanStream bs) |
void |
tightMarshalLong2(org.apache.activemq.openwire.OpenWireFormat wireFormat,
long o,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalNestedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure o,
org.apache.activemq.openwire.BooleanStream bs) |
protected void |
tightMarshalNestedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure o,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalObjectArray1(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure[] objects,
org.apache.activemq.openwire.BooleanStream bs) |
protected void |
tightMarshalObjectArray2(org.apache.activemq.openwire.OpenWireFormat wireFormat,
org.apache.activemq.command.DataStructure[] objects,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalString1(String value,
org.apache.activemq.openwire.BooleanStream bs) |
protected void |
tightMarshalString2(String value,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected int |
tightMarshalThrowable1(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Throwable o,
org.apache.activemq.openwire.BooleanStream bs) |
protected void |
tightMarshalThrowable2(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Throwable o,
DataOutput dataOut,
org.apache.activemq.openwire.BooleanStream bs) |
protected org.apache.activemq.command.DataStructure |
tightUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
protected org.apache.activemq.command.DataStructure |
tightUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
protected Throwable |
tightUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
void |
tightUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat,
Object o,
DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
protected byte[] |
tightUnmarshalByteArray(DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
protected org.apache.activemq.util.ByteSequence |
tightUnmarshalByteSequence(DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
protected byte[] |
tightUnmarshalConstByteArray(DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs,
int i) |
long |
tightUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat,
DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
protected String |
tightUnmarshalString(DataInput dataIn,
org.apache.activemq.openwire.BooleanStream bs) |
protected long |
toLong(int value) |
protected long |
toLong(short value) |
public static final Constructor STACK_TRACE_ELEMENT_CONSTRUCTOR
public BaseDataStreamMarshaller()
public abstract byte getDataStructureType()
getDataStructureType in interface org.apache.activemq.openwire.DataStreamMarshallerpublic abstract org.apache.activemq.command.DataStructure createObject()
createObject in interface org.apache.activemq.openwire.DataStreamMarshallerpublic int tightMarshal1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, org.apache.activemq.openwire.BooleanStream bs) throws IOException
tightMarshal1 in interface org.apache.activemq.openwire.DataStreamMarshallerIOExceptionpublic void tightMarshal2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
tightMarshal2 in interface org.apache.activemq.openwire.DataStreamMarshallerIOExceptionpublic void tightUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
tightUnmarshal in interface org.apache.activemq.openwire.DataStreamMarshallerIOExceptionpublic int tightMarshalLong1(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionpublic void tightMarshalLong2(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionpublic long tightUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected long toLong(short value)
protected long toLong(int value)
protected org.apache.activemq.command.DataStructure tightUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalNestedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalNestedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected org.apache.activemq.command.DataStructure tightUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalCachedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalCachedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected Throwable tightUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalThrowable1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalThrowable2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected String tightUnmarshalString(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalString1(String value, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalString2(String value, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalObjectArray1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalObjectArray2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalConstByteArray1(byte[] data, org.apache.activemq.openwire.BooleanStream bs, int i) throws IOException
IOExceptionprotected void tightMarshalConstByteArray2(byte[] data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs, int i) throws IOException
IOExceptionprotected byte[] tightUnmarshalConstByteArray(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs, int i) throws IOException
IOExceptionprotected int tightMarshalByteArray1(byte[] data, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalByteArray2(byte[] data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected byte[] tightUnmarshalByteArray(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected int tightMarshalByteSequence1(org.apache.activemq.util.ByteSequence data, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected void tightMarshalByteSequence2(org.apache.activemq.util.ByteSequence data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionprotected org.apache.activemq.util.ByteSequence tightUnmarshalByteSequence(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
IOExceptionpublic void looseMarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException
looseMarshal in interface org.apache.activemq.openwire.DataStreamMarshallerIOExceptionpublic void looseUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException
looseUnmarshal in interface org.apache.activemq.openwire.DataStreamMarshallerIOExceptionpublic void looseMarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, DataOutput dataOut) throws IOException
IOExceptionpublic long looseUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException
IOExceptionprotected org.apache.activemq.command.DataStructure looseUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException
IOExceptionprotected void looseMarshalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut) throws IOException
IOExceptionprotected org.apache.activemq.command.DataStructure looseUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException
IOExceptionprotected void looseMarshalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut) throws IOException
IOExceptionprotected Throwable looseUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException
IOExceptionprotected void looseMarshalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, DataOutput dataOut) throws IOException
IOExceptionprotected String looseUnmarshalString(DataInput dataIn) throws IOException
IOExceptionprotected void looseMarshalString(String value, DataOutput dataOut) throws IOException
IOExceptionprotected void looseMarshalObjectArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, DataOutput dataOut) throws IOException
IOExceptionprotected void looseMarshalConstByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, byte[] data, DataOutput dataOut, int i) throws IOException
IOExceptionprotected byte[] looseUnmarshalConstByteArray(DataInput dataIn, int i) throws IOException
IOExceptionprotected void looseMarshalByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, byte[] data, DataOutput dataOut) throws IOException
IOExceptionprotected byte[] looseUnmarshalByteArray(DataInput dataIn) throws IOException
IOExceptionprotected void looseMarshalByteSequence(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.util.ByteSequence data, DataOutput dataOut) throws IOException
IOExceptionprotected org.apache.activemq.util.ByteSequence looseUnmarshalByteSequence(DataInput dataIn) throws IOException
IOExceptionCopyright © 2005–2022 The Apache Software Foundation. All rights reserved.