Package org.apache.activemq.openwire.v8
Class BaseDataStreamMarshaller
- java.lang.Object
-
- org.apache.activemq.openwire.v8.BaseDataStreamMarshaller
-
- All Implemented Interfaces:
org.apache.activemq.openwire.DataStreamMarshaller
- Direct Known Subclasses:
ActiveMQDestinationMarshaller,BaseCommandMarshaller,BrokerIdMarshaller,ConnectionIdMarshaller,ConsumerIdMarshaller,DiscoveryEventMarshaller,JournalQueueAckMarshaller,JournalTopicAckMarshaller,JournalTraceMarshaller,JournalTransactionMarshaller,MessageIdMarshaller,NetworkBridgeFilterMarshaller,PartialCommandMarshaller,ProducerIdMarshaller,SessionIdMarshaller,SubscriptionInfoMarshaller,TransactionIdMarshaller,WireFormatInfoMarshaller
public abstract class BaseDataStreamMarshaller extends Object implements org.apache.activemq.openwire.DataStreamMarshaller
-
-
Field Summary
Fields Modifier and Type Field Description static ConstructorSTACK_TRACE_ELEMENT_CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description BaseDataStreamMarshaller()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract org.apache.activemq.command.DataStructurecreateObject()abstract bytegetDataStructureType()voidlooseMarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut)protected voidlooseMarshalByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, byte[] data, DataOutput dataOut)protected voidlooseMarshalByteSequence(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.util.ByteSequence data, DataOutput dataOut)protected voidlooseMarshalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut)protected voidlooseMarshalConstByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, byte[] data, DataOutput dataOut, int i)voidlooseMarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, DataOutput dataOut)protected voidlooseMarshalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut)protected voidlooseMarshalObjectArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, DataOutput dataOut)protected voidlooseMarshalString(String value, DataOutput dataOut)protected voidlooseMarshalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, DataOutput dataOut)protected org.apache.activemq.command.DataStructurelooseUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn)protected org.apache.activemq.command.DataStructurelooseUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn)protected ThrowablelooseUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn)voidlooseUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn)protected byte[]looseUnmarshalByteArray(DataInput dataIn)protected org.apache.activemq.util.ByteSequencelooseUnmarshalByteSequence(DataInput dataIn)protected byte[]looseUnmarshalConstByteArray(DataInput dataIn, int i)longlooseUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn)protected StringlooseUnmarshalString(DataInput dataIn)inttightMarshal1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, org.apache.activemq.openwire.BooleanStream bs)voidtightMarshal2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalByteArray1(byte[] data, org.apache.activemq.openwire.BooleanStream bs)protected voidtightMarshalByteArray2(byte[] data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalByteSequence1(org.apache.activemq.util.ByteSequence data, org.apache.activemq.openwire.BooleanStream bs)protected voidtightMarshalByteSequence2(org.apache.activemq.util.ByteSequence data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalCachedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, org.apache.activemq.openwire.BooleanStream bs)protected voidtightMarshalCachedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalConstByteArray1(byte[] data, org.apache.activemq.openwire.BooleanStream bs, int i)protected voidtightMarshalConstByteArray2(byte[] data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs, int i)inttightMarshalLong1(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, org.apache.activemq.openwire.BooleanStream bs)voidtightMarshalLong2(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalNestedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, org.apache.activemq.openwire.BooleanStream bs)protected voidtightMarshalNestedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalObjectArray1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, org.apache.activemq.openwire.BooleanStream bs)protected voidtightMarshalObjectArray2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalString1(String value, org.apache.activemq.openwire.BooleanStream bs)protected voidtightMarshalString2(String value, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected inttightMarshalThrowable1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, org.apache.activemq.openwire.BooleanStream bs)protected voidtightMarshalThrowable2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs)protected org.apache.activemq.command.DataStructuretightUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs)protected org.apache.activemq.command.DataStructuretightUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs)protected ThrowabletightUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs)voidtightUnmarshal(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.ByteSequencetightUnmarshalByteSequence(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs)protected byte[]tightUnmarshalConstByteArray(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs, int i)longtightUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs)protected StringtightUnmarshalString(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs)protected longtoLong(int value)protected longtoLong(short value)
-
-
-
Field Detail
-
STACK_TRACE_ELEMENT_CONSTRUCTOR
public static final Constructor STACK_TRACE_ELEMENT_CONSTRUCTOR
-
-
Method Detail
-
getDataStructureType
public abstract byte getDataStructureType()
- Specified by:
getDataStructureTypein interfaceorg.apache.activemq.openwire.DataStreamMarshaller
-
createObject
public abstract org.apache.activemq.command.DataStructure createObject()
- Specified by:
createObjectin interfaceorg.apache.activemq.openwire.DataStreamMarshaller
-
tightMarshal1
public int tightMarshal1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Specified by:
tightMarshal1in interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Throws:
IOException
-
tightMarshal2
public void tightMarshal2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Specified by:
tightMarshal2in interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Throws:
IOException
-
tightUnmarshal
public void tightUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Specified by:
tightUnmarshalin interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Throws:
IOException
-
tightMarshalLong1
public int tightMarshalLong1(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalLong2
public void tightMarshalLong2(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightUnmarshalLong
public long tightUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
toLong
protected long toLong(short value)
-
toLong
protected long toLong(int value)
-
tightUnmarsalNestedObject
protected org.apache.activemq.command.DataStructure tightUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalNestedObject1
protected int tightMarshalNestedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalNestedObject2
protected void tightMarshalNestedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightUnmarsalCachedObject
protected org.apache.activemq.command.DataStructure tightUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalCachedObject1
protected int tightMarshalCachedObject1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalCachedObject2
protected void tightMarshalCachedObject2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightUnmarsalThrowable
protected Throwable tightUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
- Throws:
IOException
-
tightMarshalThrowable1
protected int tightMarshalThrowable1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalThrowable2
protected void tightMarshalThrowable2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightUnmarshalString
protected String tightUnmarshalString(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
- Throws:
IOException
-
tightMarshalString1
protected int tightMarshalString1(String value, org.apache.activemq.openwire.BooleanStream bs) throws IOException
- Throws:
IOException
-
tightMarshalString2
protected void tightMarshalString2(String value, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException
- Throws:
IOException
-
tightMarshalObjectArray1
protected int tightMarshalObjectArray1(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalObjectArray2
protected void tightMarshalObjectArray2(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalConstByteArray1
protected int tightMarshalConstByteArray1(byte[] data, org.apache.activemq.openwire.BooleanStream bs, int i) throws IOException- Throws:
IOException
-
tightMarshalConstByteArray2
protected void tightMarshalConstByteArray2(byte[] data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs, int i) throws IOException- Throws:
IOException
-
tightUnmarshalConstByteArray
protected byte[] tightUnmarshalConstByteArray(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs, int i) throws IOException
- Throws:
IOException
-
tightMarshalByteArray1
protected int tightMarshalByteArray1(byte[] data, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalByteArray2
protected void tightMarshalByteArray2(byte[] data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightUnmarshalByteArray
protected byte[] tightUnmarshalByteArray(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
- Throws:
IOException
-
tightMarshalByteSequence1
protected int tightMarshalByteSequence1(org.apache.activemq.util.ByteSequence data, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightMarshalByteSequence2
protected void tightMarshalByteSequence2(org.apache.activemq.util.ByteSequence data, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException- Throws:
IOException
-
tightUnmarshalByteSequence
protected org.apache.activemq.util.ByteSequence tightUnmarshalByteSequence(DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException
- Throws:
IOException
-
looseMarshal
public void looseMarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException- Specified by:
looseMarshalin interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Throws:
IOException
-
looseUnmarshal
public void looseUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException- Specified by:
looseUnmarshalin interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Throws:
IOException
-
looseMarshalLong
public void looseMarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, long o, DataOutput dataOut) throws IOException- Throws:
IOException
-
looseUnmarshalLong
public long looseUnmarshalLong(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException- Throws:
IOException
-
looseUnmarsalNestedObject
protected org.apache.activemq.command.DataStructure looseUnmarsalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException- Throws:
IOException
-
looseMarshalNestedObject
protected void looseMarshalNestedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut) throws IOException- Throws:
IOException
-
looseUnmarsalCachedObject
protected org.apache.activemq.command.DataStructure looseUnmarsalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException- Throws:
IOException
-
looseMarshalCachedObject
protected void looseMarshalCachedObject(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure o, DataOutput dataOut) throws IOException- Throws:
IOException
-
looseUnmarsalThrowable
protected Throwable looseUnmarsalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException
- Throws:
IOException
-
looseMarshalThrowable
protected void looseMarshalThrowable(org.apache.activemq.openwire.OpenWireFormat wireFormat, Throwable o, DataOutput dataOut) throws IOException- Throws:
IOException
-
looseUnmarshalString
protected String looseUnmarshalString(DataInput dataIn) throws IOException
- Throws:
IOException
-
looseMarshalString
protected void looseMarshalString(String value, DataOutput dataOut) throws IOException
- Throws:
IOException
-
looseMarshalObjectArray
protected void looseMarshalObjectArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.command.DataStructure[] objects, DataOutput dataOut) throws IOException- Throws:
IOException
-
looseMarshalConstByteArray
protected void looseMarshalConstByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, byte[] data, DataOutput dataOut, int i) throws IOException- Throws:
IOException
-
looseUnmarshalConstByteArray
protected byte[] looseUnmarshalConstByteArray(DataInput dataIn, int i) throws IOException
- Throws:
IOException
-
looseMarshalByteArray
protected void looseMarshalByteArray(org.apache.activemq.openwire.OpenWireFormat wireFormat, byte[] data, DataOutput dataOut) throws IOException- Throws:
IOException
-
looseUnmarshalByteArray
protected byte[] looseUnmarshalByteArray(DataInput dataIn) throws IOException
- Throws:
IOException
-
looseMarshalByteSequence
protected void looseMarshalByteSequence(org.apache.activemq.openwire.OpenWireFormat wireFormat, org.apache.activemq.util.ByteSequence data, DataOutput dataOut) throws IOException- Throws:
IOException
-
looseUnmarshalByteSequence
protected org.apache.activemq.util.ByteSequence looseUnmarshalByteSequence(DataInput dataIn) throws IOException
- Throws:
IOException
-
-