public void readPortable(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   threadId = reader.readInt("t");
   final ObjectDataInput in = reader.getRawDataInput();
   key = new Data();
   key.readData(in);
 }
 @Override
 public void readPortable(PortableReader in) throws IOException {
   key = in.readUTF("key");
   stringVal = in.readUTF("stringVal");
   doubleVal = in.readDouble("doubleVal");
   longVal = in.readLong("longVal");
   intVal = in.readInt("intVal");
 }
 public void read(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   int size = reader.readInt("size");
   if (size > 0) {
     ObjectDataInput input = reader.getRawDataInput();
     for (int i = 0; i < size; i++) {
       Data key = input.readData();
       keys.add(key);
     }
   }
 }
Beispiel #4
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 {
   int size = reader.readInt("s");
   final ObjectDataInput in = reader.getRawDataInput();
   entrySet = new HashSet<Map.Entry>(size);
   for (int i = 0; i < size; i++) {
     Data key = new Data();
     Data value = new Data();
     key.readData(in);
     value.readData(in);
     entrySet.add(new AbstractMap.SimpleEntry(key, value));
   }
 }
 @Override
 public void read(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   int size = reader.readInt("size");
   keys = new HashSet<Data>();
   ObjectDataInput input = reader.getRawDataInput();
   for (int i = 0; i < size; i++) {
     Data key = new Data();
     key.readData(input);
     keys.add(key);
   }
   processor = input.readObject();
 }
Beispiel #7
0
 public void readPortable(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   message = reader.readUTF("m");
   details = reader.readUTF("d");
   type = reader.readInt("t");
 }
Beispiel #8
0
 @Override
 public void read(PortableReader reader) throws IOException {
   super.read(reader);
   maxSize = reader.readInt("m");
 }
 public void readPortable(PortableReader reader) throws IOException {
   name = reader.readUTF("n");
   permitCount = reader.readInt("p");
 }
Beispiel #10
0
 public void readPortable(PortableReader reader) throws IOException {
   super.readPortable(reader);
   index = reader.readInt("i");
   value = new Data();
   value.readData(reader.getRawDataInput());
 }