Package hudson.remoting
Class SocketChannelStream
java.lang.Object
hudson.remoting.SocketChannelStream
Wraps
SocketChannel into InputStream/OutputStream in a way
that avoids deadlock when read/write happens concurrently.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InputStreamstatic InputStreamin(SocketChannel ch) static OutputStreamstatic OutputStreamout(SocketChannel ch)
-
Constructor Details
-
SocketChannelStream
public SocketChannelStream()
-
-
Method Details
-
in
- Throws:
IOException
-
in
- Throws:
IOException
-
out
- Throws:
IOException
-
out
- Throws:
IOException
-