Package hudson.remoting
Class SocketOutputStream
java.lang.Object
java.io.OutputStream
java.io.FilterOutputStream
hudson.remoting.SocketOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
InputStream connected to socket.
Unlike plain Socket.getOutputStream(), closing the stream
does not close the entire socket, and instead it merely partial-close
a socket in the direction.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields inherited from class java.io.FilterOutputStream
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterOutputStream
flushMethods inherited from class java.io.OutputStream
nullOutputStream
-
Constructor Details
-
SocketOutputStream
Deprecated.- Throws:
IOException
-
-
Method Details
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
write
- Overrides:
writein classFilterOutputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classFilterOutputStream- Throws:
IOException
-
SocketChannelStream.out(Socket)