org.apache.activemq.openwire.commands.BrokerInfo

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

1. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
}

2. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
}

3. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

4. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

5. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

6. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

7. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

8. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

9. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

10. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

11. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

12. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

13. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

14. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

15. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

16. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

17. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

18. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

19. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

20. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

21. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

22. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

23. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    return rc + 0;
}

24. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

25. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

26. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

27. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

28. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
    tightMarshalString2(info.getBrokerUploadUrl(), dataOut, bs);
    tightMarshalString2(info.getNetworkProperties(), dataOut, bs);
}

29. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
    looseMarshalString(info.getBrokerUploadUrl(), dataOut);
    looseMarshalString(info.getNetworkProperties(), dataOut);
}

30. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    rc += tightMarshalString1(info.getBrokerUploadUrl(), bs);
    rc += tightMarshalString1(info.getNetworkProperties(), bs);
    return rc + 0;
}

31. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalCachedObject1(wireFormat, info.getBrokerId(), bs);
    rc += tightMarshalString1(info.getBrokerURL(), bs);
    rc += tightMarshalObjectArray1(wireFormat, info.getPeerBrokerInfos(), bs);
    rc += tightMarshalString1(info.getBrokerName(), bs);
    bs.writeBoolean(info.isSlaveBroker());
    bs.writeBoolean(info.isMasterBroker());
    bs.writeBoolean(info.isFaultTolerantConfiguration());
    bs.writeBoolean(info.isDuplexConnection());
    bs.writeBoolean(info.isNetworkConnection());
    rc += tightMarshalLong1(wireFormat, info.getConnectionId(), bs);
    return rc + 0;
}

32. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalLong2(wireFormat, info.getConnectionId(), dataOut, bs);
}

33. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
}

34. BrokerInfoMarshaller#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 {
    BrokerInfo info = (BrokerInfo) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalCachedObject(wireFormat, info.getBrokerId(), dataOut);
    looseMarshalString(info.getBrokerURL(), dataOut);
    looseMarshalObjectArray(wireFormat, info.getPeerBrokerInfos(), dataOut);
    looseMarshalString(info.getBrokerName(), dataOut);
    dataOut.writeBoolean(info.isSlaveBroker());
    dataOut.writeBoolean(info.isMasterBroker());
    dataOut.writeBoolean(info.isFaultTolerantConfiguration());
    dataOut.writeBoolean(info.isDuplexConnection());
    dataOut.writeBoolean(info.isNetworkConnection());
    looseMarshalLong(wireFormat, info.getConnectionId(), dataOut);
}

35. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    tightMarshalCachedObject2(wireFormat, info.getBrokerId(), dataOut, bs);
    tightMarshalString2(info.getBrokerURL(), dataOut, bs);
    tightMarshalObjectArray2(wireFormat, info.getPeerBrokerInfos(), dataOut, bs);
    tightMarshalString2(info.getBrokerName(), dataOut, bs);
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

36. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

37. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

38. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

39. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

40. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

41. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

42. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

43. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

44. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

45. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

46. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

47. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

48. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

49. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

50. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

51. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

52. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
    info.setBrokerUploadUrl(tightUnmarshalString(dataIn, bs));
    info.setNetworkProperties(tightUnmarshalString(dataIn, bs));
}

53. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
    info.setBrokerUploadUrl(looseUnmarshalString(dataIn));
    info.setNetworkProperties(looseUnmarshalString(dataIn));
}

54. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) tightUnmarsalCachedObject(wireFormat, dataIn, bs));
    info.setBrokerURL(tightUnmarshalString(dataIn, bs));
    if (bs.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) tightUnmarsalNestedObject(wireFormat, dataIn, bs);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(tightUnmarshalString(dataIn, bs));
    info.setSlaveBroker(bs.readBoolean());
    info.setMasterBroker(bs.readBoolean());
    info.setFaultTolerantConfiguration(bs.readBoolean());
    info.setDuplexConnection(bs.readBoolean());
    info.setNetworkConnection(bs.readBoolean());
    info.setConnectionId(tightUnmarshalLong(wireFormat, dataIn, bs));
}

55. BrokerInfoMarshaller#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);
    BrokerInfo info = (BrokerInfo) o;
    info.setBrokerId((BrokerId) looseUnmarsalCachedObject(wireFormat, dataIn));
    info.setBrokerURL(looseUnmarshalString(dataIn));
    if (dataIn.readBoolean()) {
        short size = dataIn.readShort();
        BrokerInfo value[] = new BrokerInfo[size];
        for (int i = 0; i < size; i++) {
            value[i] = (BrokerInfo) looseUnmarsalNestedObject(wireFormat, dataIn);
        }
        info.setPeerBrokerInfos(value);
    } else {
        info.setPeerBrokerInfos(null);
    }
    info.setBrokerName(looseUnmarshalString(dataIn));
    info.setSlaveBroker(dataIn.readBoolean());
    info.setMasterBroker(dataIn.readBoolean());
    info.setFaultTolerantConfiguration(dataIn.readBoolean());
    info.setDuplexConnection(dataIn.readBoolean());
    info.setNetworkConnection(dataIn.readBoolean());
    info.setConnectionId(looseUnmarshalLong(wireFormat, dataIn));
}