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 Details

    • STACK_TRACE_ELEMENT_CONSTRUCTOR

      public static final Constructor STACK_TRACE_ELEMENT_CONSTRUCTOR
  • Constructor Details

    • BaseDataStreamMarshaller

      public BaseDataStreamMarshaller()
  • Method Details

    • getDataStructureType

      public abstract byte getDataStructureType()
      Specified by:
      getDataStructureType in interface org.apache.activemq.openwire.DataStreamMarshaller
    • createObject

      public abstract org.apache.activemq.command.DataStructure createObject()
      Specified by:
      createObject in interface org.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:
      tightMarshal1 in interface org.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:
      tightMarshal2 in interface org.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:
      tightUnmarshal in interface org.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(org.apache.activemq.openwire.OpenWireFormat wireFormat, 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(org.apache.activemq.openwire.OpenWireFormat wireFormat, 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:
      looseMarshal in interface org.apache.activemq.openwire.DataStreamMarshaller
      Throws:
      IOException
    • looseUnmarshal

      public void looseUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException
      Specified by:
      looseUnmarshal in interface org.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(org.apache.activemq.openwire.OpenWireFormat wireFormat, 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(org.apache.activemq.openwire.OpenWireFormat wireFormat, DataInput dataIn) throws IOException
      Throws:
      IOException