org.apache.activemq.openwire.commands.ConsumerControl

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

1. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

2. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

3. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

4. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

5. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

6. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

7. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

8. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

9. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

10. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

11. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

12. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setDestination((OpenWireDestination) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

13. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

14. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

15. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

16. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

17. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

18. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

19. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(dataIn.readBoolean());
    info.setStart(dataIn.readBoolean());
    info.setStop(dataIn.readBoolean());
}

20. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(bs.readBoolean());
    info.setConsumerId((ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
    info.setFlush(bs.readBoolean());
    info.setStart(bs.readBoolean());
    info.setStop(bs.readBoolean());
}

21. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    tightMarshalNestedObject2(wireFormat, info.getDestination(), dataOut, bs);
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

22. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

23. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalNestedObject1(wireFormat, info.getDestination(), bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

24. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalNestedObject1(wireFormat, info.getDestination(), bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

25. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

26. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    tightMarshalNestedObject2(wireFormat, info.getDestination(), dataOut, bs);
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

27. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

28. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    tightMarshalNestedObject2(wireFormat, info.getDestination(), dataOut, bs);
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

29. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalNestedObject1(wireFormat, info.getDestination(), bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

30. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalNestedObject1(wireFormat, info.getDestination(), bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

31. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    tightMarshalNestedObject2(wireFormat, info.getDestination(), dataOut, bs);
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

32. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

33. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

34. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

35. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

36. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalNestedObject1(wireFormat, info.getDestination(), bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

37. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    tightMarshalNestedObject2(wireFormat, info.getDestination(), dataOut, bs);
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

38. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

39. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    rc += tightMarshalNestedObject1(wireFormat, info.getDestination(), bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

40. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    tightMarshalNestedObject2(wireFormat, info.getDestination(), dataOut, bs);
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

41. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    looseMarshalNestedObject(wireFormat, info.getDestination(), dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

42. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

43. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

44. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

45. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

46. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

47. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

48. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    bs.writeBoolean(info.isFlush());
    bs.writeBoolean(info.isStart());
    bs.writeBoolean(info.isStop());
    return rc + 4;
}

49. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
    dataOut.writeBoolean(info.isFlush());
    dataOut.writeBoolean(info.isStart());
    dataOut.writeBoolean(info.isStop());
}

50. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
    bs.readBoolean();
    bs.readBoolean();
    bs.readBoolean();
}

51. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(bs.readBoolean());
    info.setConsumerId((org.apache.activemq.openwire.commands.ConsumerId) tightUnmarsalNestedObject(wireFormat, dataIn, bs));
    info.setPrefetch(dataIn.readInt());
}

52. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    info.setClose(dataIn.readBoolean());
    info.setConsumerId((org.apache.activemq.openwire.commands.ConsumerId) looseUnmarsalNestedObject(wireFormat, dataIn));
    info.setPrefetch(dataIn.readInt());
}

53. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    super.looseMarshal(wireFormat, o, dataOut);
    dataOut.writeBoolean(info.isClose());
    looseMarshalNestedObject(wireFormat, info.getConsumerId(), dataOut);
    dataOut.writeInt(info.getPrefetch());
}

54. ConsumerControlMarshaller#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);
    ConsumerControl info = (ConsumerControl) o;
    bs.readBoolean();
    tightMarshalNestedObject2(wireFormat, info.getConsumerId(), dataOut, bs);
    dataOut.writeInt(info.getPrefetch());
}

55. ConsumerControlMarshaller#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 {
    ConsumerControl info = (ConsumerControl) o;
    int rc = super.tightMarshal1(wireFormat, o, bs);
    bs.writeBoolean(info.isClose());
    rc += tightMarshalNestedObject1(wireFormat, info.getConsumerId(), bs);
    return rc + 4;
}