示例#1
0
  public void decode(final HornetQBuffer buffer) {
    channelID = buffer.readLong();

    decodeRest(buffer);

    size = buffer.readerIndex();
  }
 @Override
 public void decodeRest(HornetQBuffer buffer) {
   super.decodeRest(buffer);
   handler = buffer.readSimpleString();
   voteBuffer = buffer.readSlice(buffer.readableBytes());
 }