@Override public void decodeRest(HornetQBuffer buffer) { super.decodeRest(buffer); handler = buffer.readSimpleString(); voteBuffer = buffer.readSlice(buffer.readableBytes()); }
@Override public void encodeRest(HornetQBuffer buffer) { super.encodeRest(buffer); buffer.writeSimpleString(handler); vote.encode(buffer); }