Example #1
0
 public void readPortable(PortableReader reader) throws IOException {
   b = reader.readByte("b");
   bool = reader.readBoolean("bool");
   c = reader.readChar("c");
   s = reader.readShort("s");
   i = reader.readInt("i");
   l = reader.readLong("l");
   f = reader.readFloat("f");
   d = reader.readDouble("d");
   str = reader.readUTF("str");
 }
 public void readPortable(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   attribute = reader.readUTF("a");
   ordered = reader.readBoolean("o");
 }
 public void read(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   includeValue = reader.readBoolean("i");
   serviceName = reader.readUTF("s");
 }
 @Override
 public void read(PortableReader reader) throws IOException {
   super.read(reader);
   onePhase = reader.readBoolean("o");
 }