Class BaseDataStreamMarshaller

    • Field Detail

      • STACK_TRACE_ELEMENT_CONSTRUCTOR

        public static final Constructor STACK_TRACE_ELEMENT_CONSTRUCTOR
    • Constructor Detail

      • BaseDataStreamMarshaller

        public BaseDataStreamMarshaller()
    • Method Detail

      • 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
      • tightMarshalString1

        protected int tightMarshalString1​(String value,
                                          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:
        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
      • 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
      • looseMarshalByteArray

        protected void looseMarshalByteArray​(org.apache.activemq.openwire.OpenWireFormat wireFormat,
                                             byte[] data,
                                             DataOutput dataOut)
                                      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