Ejemplo n.º 1
0
 // @Override
 public void readRaw(ByteBuffer buffer) throws NullPointerException {
   super.readRaw(buffer);
   // data
   this.data = RawTransUtil.getString(buffer);
   // type
   this.type = buffer.getInt();
   // label
   this.label = RawTransUtil.getString(buffer);
   // protocol
   this.protocol = buffer.getInt();
   // customProtocol
   this.customProtocol = RawTransUtil.getString(buffer);
 }