コード例 #1
0
 @Override
 public void fromData(DataInput in) throws IOException, ClassNotFoundException {
   super.fromData(in);
   this.bridgeInfo = (RemoteBridgeServer) DataSerializer.readObject(in);
   this.exception = (Exception) DataSerializer.readObject(in);
 }
コード例 #2
0
 @Override
 public void toData(DataOutput out) throws IOException {
   super.toData(out);
   DataSerializer.writeObject(this.bridgeInfo, out);
   DataSerializer.writeObject(this.exception, out);
 }