class QueueDelete extends MethodFrame {

    @Override
    protected void writeMethod(ByteBuf buf) {
        buf.writeShort(0);
        queue.write(buf);
        int flags = 0x00;
        if (ifUnused) {
            flags |= 0x1;
        }
        if (ifEmpty) {
            flags |= 0x2;
        }
        if (noWait) {
            flags |= 0x4;
        }
        buf.writeByte(flags);
    }

      QueueDelete(int channel, ShortString queue, boolean ifUnused, boolean ifEmpty, boolean noWait);

}