150151152153154155156157158159160
} case SINGLE: if (store(zlog, msg)) { if (flag > 0 && zlog.flushed()) { response.add(new ZFrame(msg.buf().array())); response.send(worker); } } else stop = true;
163164165166167168169170171172173
break; case MESSAGE: if (store(zlog, count, msg)) { if (flag > 0 && zlog.flushed()) { response.add(getLastFrame(msg.buf().duplicate())); response.send(worker); } } else stop = true;