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

    decodeRest(buffer);

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