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
-
Method Summary
Modifier and TypeMethodDescriptionstatic InputStream
static InputStream
in
(SocketChannel ch) static OutputStream
static OutputStream
out
(SocketChannel ch)
-
Constructor Details
-
SocketChannelStream
public SocketChannelStream()
-
-
Method Details
-
in
- Throws:
IOException
-
in
- Throws:
IOException
-
out
- Throws:
IOException
-
out
- Throws:
IOException
-