hudson.remoting
Class SocketInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
hudson.remoting.SocketInputStream
- All Implemented Interfaces:
- Closeable
public class SocketInputStream
- extends FilterInputStream
InputStream connected to socket.
Unlike plain Socket.getInputStream(), closing the stream
does not close the entire socket, and instead it merely partial-close
a socket in the direction.
- Author:
- Kohsuke Kawaguchi
|
Method Summary |
void |
close()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketInputStream
public SocketInputStream(Socket socket)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class FilterInputStream
- Throws:
IOException
Copyright © 2004-2011. All Rights Reserved.