org.apache.activemq.openwire.commands.DestinationInfo

Here are the examples of the java api class org.apache.activemq.openwire.commands.DestinationInfo taken from open source projects.

1. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

2. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

3. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

4. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

5. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

6. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

7. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

8. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

9. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

10. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

11. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

12. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

13. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

14. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

15. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

16. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

17. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

18. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

19. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

20. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((org.apache.activemq.openwire.commands.ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        org.apache.activemq.openwire.commands.BrokerId value[] = new org.apache.activemq.openwire.commands.BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (org.apache.activemq.openwire.commands.BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

21. DestinationInfoMarshaller#tightUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void tightUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn, BooleanStream bs) throws IOException {
    super.tightUnmarshal(wireFormat, o, dataIn, bs);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((org.apache.activemq.openwire.commands.ConnectionId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setDestination((OpenWireDestination) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(tightUnmarshalLong(wireFormat, dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        org.apache.activemq.openwire.commands.BrokerId value[] = new org.apache.activemq.openwire.commands.BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (org.apache.activemq.openwire.commands.BrokerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

22. DestinationInfoMarshaller#looseUnmarshal()

View license
/**
     * Un-marshal an object instance from the data input stream
     *
     * @param o
     *        the object to un-marshal
     * @param dataIn
     *        the data input stream to build the object from
     * @throws IOException
     */
@Override
public void looseUnmarshal(OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException {
    super.looseUnmarshal(wireFormat, o, dataIn);
    DestinationInfo info = (DestinationInfo) o;
    info.setConnectionId((ConnectionId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setDestination((OpenWireDestination) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setOperationType(dataIn.readByte());
    info.setTimeout(looseUnmarshalLong(wireFormat, dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerId value[] = new BrokerId[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerId) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setBrokerPath(value);
    } else {
        info.setBrokerPath(null);
    }
}

23. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

24. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

25. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

26. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

27. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

28. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

29. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

30. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

31. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

32. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

33. DestinationInfoMarshaller#tightMarshal1()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public int tightMarshal1(OpenWireFormat wireFormat, Object o, BooleanStream bs) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getDestination(), bs);
    rc += tightMarshalLong1(wireFormat, info.getTimeout(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getBrokerPath(), bs);
    return rc + 1;
}

34. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

35. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

36. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

37. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

38. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

39. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

40. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

41. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

42. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

43. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

44. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

45. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

46. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

47. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

48. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

49. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

50. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

51. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

52. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

53. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}

54. DestinationInfoMarshaller#looseMarshal()

View license
/**
     * Write the booleans that this object uses to a BooleanStream
     */
@Override
public void looseMarshal(OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException {
    DestinationInfo info = (DestinationInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalCachedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeByte(info.getOperationType());
    looseMarshalLong(wireFormat, info.getTimeout(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getBrokerPath(), dataOut);
}

55. DestinationInfoMarshaller#tightMarshal2()

View license
/**
     * Write a object instance to data output stream
     *
     * @param o
     *        the instance to be marshaled
     * @param dataOut
     *        the output stream
     * @throws IOException
     *         thrown if an error occurs
     */
@Override
public void tightMarshal2(OpenWireFormat wireFormat, Object o, DataOutput dataOut, BooleanStream bs) throws IOException {
    super.tightMarshal2(wireFormat, o, dataOut, bs);
    DestinationInfo info = (DestinationInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalCachedObject2(wireFormat, info.getDestination(), dataOut, bs);
    dataOut.writeByte(info.getOperationType());
    tightMarshalLong2(wireFormat, info.getTimeout(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getBrokerPath(), dataOut, bs);
}