hudson.remoting
public class RemoteInputStream extends java.io.InputStream implements java.io.Serializable
InputStream
so that it can be sent over the remoting channel.
Note that this class by itself does not perform buffering.
Constructor and Description |
---|
RemoteInputStream(java.io.InputStream core)
Short for
RemoteInputStream(core,true) . |
RemoteInputStream(java.io.InputStream core,
boolean autoUnexport) |
public RemoteInputStream(java.io.InputStream core)
RemoteInputStream(core,true)
.public RemoteInputStream(java.io.InputStream core, boolean autoUnexport)
autoUnexport
- If true, the InputStream
will be automatically unexported when
the callable that took it with returns. If false, it'll not unexported
until the close method is called.public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public long skip(long n) throws java.io.IOException
skip
in class java.io.InputStream
java.io.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
public void mark(int readlimit)
mark
in class java.io.InputStream
public void reset() throws java.io.IOException
reset
in class java.io.InputStream
java.io.IOException
public boolean markSupported()
markSupported
in class java.io.InputStream
Copyright © 2014. All Rights Reserved.