Class BrokerInfoMarshaller

  • All Implemented Interfaces:
    org.apache.activemq.openwire.DataStreamMarshaller

    public class BrokerInfoMarshaller
    extends BaseCommandMarshaller
    Marshalling code for Open Wire Format for BrokerInfoMarshaller NOTE!: This file is auto generated - do not modify! if you need to make a change, please see the modify the groovy scripts in the under src/gram/script and then use maven openwire:generate to regenerate this file.
    • Constructor Detail

      • BrokerInfoMarshaller

        public BrokerInfoMarshaller()
    • Method Detail

      • getDataStructureType

        public byte getDataStructureType()
        Return the type of Data Structure we marshal
        Specified by:
        getDataStructureType in interface org.apache.activemq.openwire.DataStreamMarshaller
        Specified by:
        getDataStructureType in class BaseDataStreamMarshaller
        Returns:
        short representation of the type data structure
      • createObject

        public org.apache.activemq.command.DataStructure createObject()
        Specified by:
        createObject in interface org.apache.activemq.openwire.DataStreamMarshaller
        Specified by:
        createObject in class BaseDataStreamMarshaller
        Returns:
        a new object instance
      • tightUnmarshal

        public void tightUnmarshal​(org.apache.activemq.openwire.OpenWireFormat wireFormat,
                                   Object o,
                                   DataInput dataIn,
                                   org.apache.activemq.openwire.BooleanStream bs)
                            throws IOException
        Un-marshal an object instance from the data input stream
        Specified by:
        tightUnmarshal in interface org.apache.activemq.openwire.DataStreamMarshaller
        Overrides:
        tightUnmarshal in class BaseCommandMarshaller
        Parameters:
        o - the object to un-marshal
        dataIn - the data input stream to build the object from
        Throws:
        IOException
      • tightMarshal1

        public int tightMarshal1​(org.apache.activemq.openwire.OpenWireFormat wireFormat,
                                 Object o,
                                 org.apache.activemq.openwire.BooleanStream bs)
                          throws IOException
        Write the booleans that this object uses to a BooleanStream
        Specified by:
        tightMarshal1 in interface org.apache.activemq.openwire.DataStreamMarshaller
        Overrides:
        tightMarshal1 in class BaseCommandMarshaller
        Throws:
        IOException
      • tightMarshal2

        public void tightMarshal2​(org.apache.activemq.openwire.OpenWireFormat wireFormat,
                                  Object o,
                                  DataOutput dataOut,
                                  org.apache.activemq.openwire.BooleanStream bs)
                           throws IOException
        Write a object instance to data output stream
        Specified by:
        tightMarshal2 in interface org.apache.activemq.openwire.DataStreamMarshaller
        Overrides:
        tightMarshal2 in class BaseCommandMarshaller
        Parameters:
        o - the instance to be marshaled
        dataOut - the output stream
        Throws:
        IOException - thrown if an error occurs
      • looseUnmarshal

        public void looseUnmarshal​(org.apache.activemq.openwire.OpenWireFormat wireFormat,
                                   Object o,
                                   DataInput dataIn)
                            throws IOException
        Un-marshal an object instance from the data input stream
        Specified by:
        looseUnmarshal in interface org.apache.activemq.openwire.DataStreamMarshaller
        Overrides:
        looseUnmarshal in class BaseCommandMarshaller
        Parameters:
        o - the object to un-marshal
        dataIn - the data input stream to build the object from
        Throws:
        IOException
      • looseMarshal

        public void looseMarshal​(org.apache.activemq.openwire.OpenWireFormat wireFormat,
                                 Object o,
                                 DataOutput dataOut)
                          throws IOException
        Write the booleans that this object uses to a BooleanStream
        Specified by:
        looseMarshal in interface org.apache.activemq.openwire.DataStreamMarshaller
        Overrides:
        looseMarshal in class BaseCommandMarshaller
        Throws:
        IOException