示例#1
0
 @Override
 public void fromStream(final DataInput in, final ORemoteTaskFactory factory) throws IOException {
   text = in.readUTF();
   params = (Map<Object, Object>) OStreamableHelper.fromStream(in);
 }
示例#2
0
 @Override
 public void toStream(final DataOutput out) throws IOException {
   out.writeUTF(text);
   OStreamableHelper.toStream(out, params);
 }