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