jist.runtime
Class RemoteIO.RemoteInputStream
java.lang.Object
  
java.io.InputStream
      
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 | 
 
rin
private RemoteIO.RemoteInputStreamRemote rin
- Stub of remote-side of remote input stream.
 
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:
 read in class java.io.InputStream
 
- Throws:
 java.io.IOException
 
 
read
public int read(byte[] b)
         throws java.io.IOException
- 
- Overrides:
 read in class java.io.InputStream
 
- Throws:
 java.io.IOException
 
 
read
public int read(byte[] b,
                int off,
                int len)
         throws java.io.IOException
- 
- Overrides:
 read in class java.io.InputStream
 
- Throws:
 java.io.IOException
 
 
close
public void close()
           throws java.io.IOException
- 
- Specified by:
 close in interface java.io.Closeable- Overrides:
 close in class java.io.InputStream
 
- Throws:
 java.io.IOException