提交 9e788b48 编写于 作者: K Kohsuke Kawaguchi

doc improvement

上级 4797b7f0
......@@ -71,6 +71,22 @@ import java.util.logging.Logger;
* ... write to out ...
* </pre>
*
* Similarly, for remote to local pipe,
*
* <pre>
* final Pipe p = Pipe.createRemoteToLocal();
*
* channel.callAsync(new Callable() {
* public Object call() {
* OutputStream out = p.getOut();
* ... write to out ...
* }
* });
*
* InputStream in = p.getIn();
* ... read from in ...
* </pre>
*
* <h2>Implementation Note</h2>
* <p>
* For better performance, {@link Pipe} uses lower-level {@link Command} abstraction
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册