edu.emory.mathcs.util.remote.io.server.impl
Class RemoteInputStreamSrvImpl
java.lang.Object
edu.emory.mathcs.util.remote.io.server.impl.RemoteInputStreamSrvImpl
- All Implemented Interfaces:
- java.rmi.Remote, RemoteInputStreamSrv
- public class RemoteInputStreamSrvImpl
- extends java.lang.Object
- implements RemoteInputStreamSrv
Server-side remote handle to an input stream.
- Version:
- 1.0
- Author:
- Dawid Kurzyniec
- See Also:
RemoteInputStream
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteInputStreamSrvImpl
public RemoteInputStreamSrvImpl(java.io.InputStream in)
RemoteInputStreamSrvImpl
public RemoteInputStreamSrvImpl(java.io.InputStream in,
int maxblock)
read
public byte[] read(int maxbytes)
throws java.io.IOException
- Specified by:
read
in interface RemoteInputStreamSrv
- Throws:
java.io.IOException
skip
public long skip(long n)
throws java.io.IOException
- Specified by:
skip
in interface RemoteInputStreamSrv
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Specified by:
available
in interface RemoteInputStreamSrv
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface RemoteInputStreamSrv
- Throws:
java.io.IOException