Package org.alfresco.util.remote.server
Interface RemoteInputStreamServer
-
- All Known Implementing Classes:
AbstractRemoteInputStreamServer,RmiRemoteInputStreamServer
public interface RemoteInputStreamServerInterface for remote input stream support.- Since:
- Alfresco 2.2
- Author:
- Michael Shavnev
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intavailable()voidclose()voidmark(int readlimit)booleanmarkSupported()intread()intread(byte[] bytes)intread(byte[] bytes, int off, int len)voidreset()longskip(long n)Stringstart(String host, int port)
-
-
-
Method Detail
-
start
String start(String host, int port) throws RemoteException
- Throws:
RemoteException
-
read
int read() throws IOException
- Throws:
IOException
-
read
int read(byte[] bytes) throws IOException
- Throws:
IOException
-
read
int read(byte[] bytes, int off, int len) throws IOException- Throws:
IOException
-
skip
long skip(long n) throws IOException
- Throws:
IOException
-
available
int available() throws IOException- Throws:
IOException
-
mark
void mark(int readlimit)
-
markSupported
boolean markSupported()
-
reset
void reset() throws IOException- Throws:
IOException
-
close
void close() throws IOException- Throws:
IOException
-
-