org.apache.activemq.openwire.commands.ConnectionControl

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

1. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
    info.setConnectedBrokers(looseUnmarshalString(dataIn));
    info.setReconnectTo(looseUnmarshalString(dataIn));
    info.setRebalanceConnection(dataIn.readBoolean());
    info.setToken(looseUnmarshalByteArray(dataIn));
}

2. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
    info.setConnectedBrokers(tightUnmarshalString(dataIn, bs));
    info.setReconnectTo(tightUnmarshalString(dataIn, bs));
    info.setRebalanceConnection(bs.readBoolean());
    info.setToken(tightUnmarshalByteArray(dataIn, bs));
}

3. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
    info.setConnectedBrokers(tightUnmarshalString(dataIn, bs));
    info.setReconnectTo(tightUnmarshalString(dataIn, bs));
    info.setRebalanceConnection(bs.readBoolean());
    info.setToken(tightUnmarshalByteArray(dataIn, bs));
}

4. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
    info.setConnectedBrokers(looseUnmarshalString(dataIn));
    info.setReconnectTo(looseUnmarshalString(dataIn));
    info.setRebalanceConnection(dataIn.readBoolean());
    info.setToken(looseUnmarshalByteArray(dataIn));
}

5. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
    info.setConnectedBrokers(tightUnmarshalString(dataIn, bs));
    info.setReconnectTo(tightUnmarshalString(dataIn, bs));
    info.setRebalanceConnection(bs.readBoolean());
    info.setToken(tightUnmarshalByteArray(dataIn, bs));
}

6. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
    info.setConnectedBrokers(looseUnmarshalString(dataIn));
    info.setReconnectTo(looseUnmarshalString(dataIn));
    info.setRebalanceConnection(dataIn.readBoolean());
    info.setToken(looseUnmarshalByteArray(dataIn));
}

7. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
    info.setConnectedBrokers(looseUnmarshalString(dataIn));
    info.setReconnectTo(looseUnmarshalString(dataIn));
    info.setRebalanceConnection(dataIn.readBoolean());
    info.setToken(looseUnmarshalByteArray(dataIn));
}

8. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
    info.setConnectedBrokers(tightUnmarshalString(dataIn, bs));
    info.setReconnectTo(tightUnmarshalString(dataIn, bs));
    info.setRebalanceConnection(bs.readBoolean());
    info.setToken(tightUnmarshalByteArray(dataIn, bs));
}

9. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
    info.setConnectedBrokers(tightUnmarshalString(dataIn, bs));
    info.setReconnectTo(tightUnmarshalString(dataIn, bs));
    info.setRebalanceConnection(bs.readBoolean());
}

10. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
    info.setConnectedBrokers(looseUnmarshalString(dataIn));
    info.setReconnectTo(looseUnmarshalString(dataIn));
    info.setRebalanceConnection(dataIn.readBoolean());
}

11. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
    info.setConnectedBrokers(tightUnmarshalString(dataIn, bs));
    info.setReconnectTo(tightUnmarshalString(dataIn, bs));
    info.setRebalanceConnection(bs.readBoolean());
}

12. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
    info.setConnectedBrokers(looseUnmarshalString(dataIn));
    info.setReconnectTo(looseUnmarshalString(dataIn));
    info.setRebalanceConnection(dataIn.readBoolean());
}

13. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    rc += tightMarshalString1(info.getConnectedBrokers(), bs);
    rc += tightMarshalString1(info.getReconnectTo(), bs);
    bs.writeBoolean(info.isRebalanceConnection());
    return rc + 0;
}

14. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    rc += tightMarshalString1(info.getConnectedBrokers(), bs);
    rc += tightMarshalString1(info.getReconnectTo(), bs);
    bs.writeBoolean(info.isRebalanceConnection());
    rc += tightMarshalByteArray1(info.getToken(), bs);
    return rc + 0;
}

15. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
    looseMarshalString(info.getConnectedBrokers(), dataOut);
    looseMarshalString(info.getReconnectTo(), dataOut);
    dataOut.writeBoolean(info.isRebalanceConnection());
}

16. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalString2(info.getConnectedBrokers(), dataOut, bs);
    tightMarshalString2(info.getReconnectTo(), dataOut, bs);
    bs.readBoolean();
}

17. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    rc += tightMarshalString1(info.getConnectedBrokers(), bs);
    rc += tightMarshalString1(info.getReconnectTo(), bs);
    bs.writeBoolean(info.isRebalanceConnection());
    return rc + 0;
}

18. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    return rc + 0;
}

19. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalString2(info.getConnectedBrokers(), dataOut, bs);
    tightMarshalString2(info.getReconnectTo(), dataOut, bs);
    bs.readBoolean();
}

20. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
    looseMarshalString(info.getConnectedBrokers(), dataOut);
    looseMarshalString(info.getReconnectTo(), dataOut);
    dataOut.writeBoolean(info.isRebalanceConnection());
}

21. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    return rc + 0;
}

22. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalString2(info.getConnectedBrokers(), dataOut, bs);
    tightMarshalString2(info.getReconnectTo(), dataOut, bs);
    bs.readBoolean();
    tightMarshalByteArray2(info.getToken(), dataOut, bs);
}

23. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
    looseMarshalString(info.getConnectedBrokers(), dataOut);
    looseMarshalString(info.getReconnectTo(), dataOut);
    dataOut.writeBoolean(info.isRebalanceConnection());
    looseMarshalByteArray(wireFormat, info.getToken(), dataOut);
}

24. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    rc += tightMarshalString1(info.getConnectedBrokers(), bs);
    rc += tightMarshalString1(info.getReconnectTo(), bs);
    bs.writeBoolean(info.isRebalanceConnection());
    rc += tightMarshalByteArray1(info.getToken(), bs);
    return rc + 0;
}

25. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalString2(info.getConnectedBrokers(), dataOut, bs);
    tightMarshalString2(info.getReconnectTo(), dataOut, bs);
    bs.readBoolean();
    tightMarshalByteArray2(info.getToken(), dataOut, bs);
}

26. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
    looseMarshalString(info.getConnectedBrokers(), dataOut);
    looseMarshalString(info.getReconnectTo(), dataOut);
    dataOut.writeBoolean(info.isRebalanceConnection());
    looseMarshalByteArray(wireFormat, info.getToken(), dataOut);
}

27. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
}

28. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    rc += tightMarshalString1(info.getConnectedBrokers(), bs);
    rc += tightMarshalString1(info.getReconnectTo(), bs);
    bs.writeBoolean(info.isRebalanceConnection());
    rc += tightMarshalByteArray1(info.getToken(), bs);
    return rc + 0;
}

29. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    return rc + 0;
}

30. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalString2(info.getConnectedBrokers(), dataOut, bs);
    tightMarshalString2(info.getReconnectTo(), dataOut, bs);
    bs.readBoolean();
    tightMarshalByteArray2(info.getToken(), dataOut, bs);
}

31. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
    looseMarshalString(info.getConnectedBrokers(), dataOut);
    looseMarshalString(info.getReconnectTo(), dataOut);
    dataOut.writeBoolean(info.isRebalanceConnection());
    looseMarshalByteArray(wireFormat, info.getToken(), dataOut);
}

32. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    rc += tightMarshalString1(info.getConnectedBrokers(), bs);
    rc += tightMarshalString1(info.getReconnectTo(), bs);
    bs.writeBoolean(info.isRebalanceConnection());
    rc += tightMarshalByteArray1(info.getToken(), bs);
    return rc + 0;
}

33. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    return rc + 0;
}

34. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
    tightMarshalString2(info.getConnectedBrokers(), dataOut, bs);
    tightMarshalString2(info.getReconnectTo(), dataOut, bs);
    bs.readBoolean();
    tightMarshalByteArray2(info.getToken(), dataOut, bs);
}

35. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
    looseMarshalString(info.getConnectedBrokers(), dataOut);
    looseMarshalString(info.getReconnectTo(), dataOut);
    dataOut.writeBoolean(info.isRebalanceConnection());
    looseMarshalByteArray(wireFormat, info.getToken(), dataOut);
}

36. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    bs.writeBoolean(info.isExit());
    bs.writeBoolean(info.isFaultTolerant());
    bs.writeBoolean(info.isResume());
    bs.writeBoolean(info.isSuspend());
    return rc + 0;
}

37. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
}

38. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
}

39. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
}

40. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
}

41. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
}

42. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
}

43. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
}

44. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(bs.readBoolean());
    info.setExit(bs.readBoolean());
    info.setFaultTolerant(bs.readBoolean());
    info.setResume(bs.readBoolean());
    info.setSuspend(bs.readBoolean());
}

45. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
}

46. ConnectionControlMarshaller#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);
    ConnectionControl info = (ConnectionControl) o;
    info.setClose(dataIn.readBoolean());
    info.setExit(dataIn.readBoolean());
    info.setFaultTolerant(dataIn.readBoolean());
    info.setResume(dataIn.readBoolean());
    info.setSuspend(dataIn.readBoolean());
}

47. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
}

48. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
}

49. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
}

50. ConnectionControlMarshaller#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 {
    ConnectionControl info = (ConnectionControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    dataOut.writeBoolean(info.isExit());
    dataOut.writeBoolean(info.isFaultTolerant());
    dataOut.writeBoolean(info.isResume());
    dataOut.writeBoolean(info.isSuspend());
}