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