|
Back to the RMI Plug-in for Eclipse
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IRemoteInputStream
This interface defines a remote input stream that can be used
to read from an IRemoteFile. The interface mimics the
InputStream class with a single difference in the
read(int) method.
| Method Summary | |
|---|---|
int |
available()
|
void |
close()
|
void |
mark(int readlimit)
|
boolean |
markSupported()
|
int |
read()
Read a single byte from the stream. |
byte[] |
read(int count)
Read count bytes from the stream. |
void |
reset()
|
long |
skip(long n)
|
| Method Detail |
|---|
int available()
throws RemoteException
RemoteExceptionInputStream.available()
void close()
throws RemoteException
RemoteExceptionInputStream.close()
void mark(int readlimit)
throws RemoteException
RemoteExceptionInputStream.mark(int)
boolean markSupported()
throws RemoteException
RemoteExceptionInputStream.markSupported()
int read()
throws RemoteException
RemoteExceptionInputStream.read()
byte[] read(int count)
throws RemoteException
count bytes from the stream.
We can't have the same signature as InputStream.read(byte[], int, int)
because if the array is an argument it won't be copied back to
the client.
count - the maximum number of bytes to read.
null if EOF reached.
RemoteException
void reset()
throws RemoteException
RemoteExceptionInputStream.reset()
long skip(long n)
throws RemoteException
RemoteExceptionInputStream.skip(long)
|
Back to the RMI Plug-in for Eclipse
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
© 2002-12 Genady Beryozkin, rmi-info@genady.net. Read our Privacy policy. Hosted on RimuHosting. Visit Javalobby.