jist.runtime
Class RemoteIO.RemoteInputStream
java.lang.Object
   java.io.InputStream
java.io.InputStream
       jist.runtime.RemoteIO.RemoteInputStream
jist.runtime.RemoteIO.RemoteInputStream
- All Implemented Interfaces: 
- java.io.Closeable
- Enclosing class:
- RemoteIO
- public static class RemoteIO.RemoteInputStream 
- extends java.io.InputStream
Local-side of remote input stream.
 
| Method Summary | 
|  void | close()
 | 
|  int | read()
 | 
|  int | read(byte[] b)
 | 
|  int | read(byte[] b,
     int off,
     int len)
 | 
 
| Methods inherited from class java.io.InputStream | 
| available, mark, markSupported, reset, skip | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
RemoteIO.RemoteInputStream
public RemoteIO.RemoteInputStream(RemoteIO.RemoteInputStreamRemote rin)
                           throws java.io.IOException
- Create a new local-side remote input stream connected to the given
 remote input stream stub.
 
- Parameters:
- rin- remote input stream stub
- Throws:
- java.io.IOException- underlying input/output error
 
read
public int read()
         throws java.io.IOException
- 
 
- 
- Specified by:
- readin class- java.io.InputStream
 
- 
- Throws:
- java.io.IOException
 
read
public int read(byte[] b)
         throws java.io.IOException
- 
 
- 
- Overrides:
- readin class- java.io.InputStream
 
- 
- Throws:
- java.io.IOException
 
read
public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
- 
 
- 
- Overrides:
- readin class- java.io.InputStream
 
- 
- Throws:
- java.io.IOException
 
close
public void close()
           throws java.io.IOException
- 
 
- 
- Specified by:
- closein interface- java.io.Closeable
- Overrides:
- closein class- java.io.InputStream
 
- 
- Throws:
- java.io.IOException