Example #1
0
 public void writeExternal(ObjectOutput out) throws IOException {
   super.writeExternal(out);
   out.writeObject(rmAddress);
   out.writeObject(filter);
   out.writeInt(port);
   out.writeObject(usedAcc);
 }
Example #2
0
 public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
   super.readExternal(in);
   rmAddress = (InetAddress) in.readObject();
   filter = (LogFilter) in.readObject();
   port = in.readInt();
   usedAcc = (boolean[]) in.readObject();
 }