Beispiel #1
0
 public void writePortable(PortableWriter writer) throws IOException {
   writer.writeByte("b", b);
   writer.writeBoolean("bool", bool);
   writer.writeChar("c", c);
   writer.writeShort("s", s);
   writer.writeInt("i", i);
   writer.writeLong("l", l);
   writer.writeFloat("f", f);
   writer.writeDouble("d", d);
   writer.writeUTF("str", str);
 }
 public void writePortable(PortableWriter writer) throws IOException {
   writer.writeUTF("n", name);
   writer.writeUTF("a", attribute);
   writer.writeBoolean("o", ordered);
 }
 public void write(PortableWriter writer) throws IOException {
   writer.writeUTF("n", name);
   writer.writeBoolean("i", includeValue);
   writer.writeUTF("s", serviceName);
 }
 @Override
 public void write(PortableWriter writer) throws IOException {
   super.write(writer);
   writer.writeBoolean("o", onePhase);
 }