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)java.lang.Stringstart(java.lang.String host, int port)
-
-
-
Method Detail
-
start
java.lang.String start(java.lang.String host, int port) throws java.rmi.RemoteException- Throws:
java.rmi.RemoteException
-
read
int read() throws java.io.IOException
- Throws:
java.io.IOException
-
read
int read(byte[] bytes) throws java.io.IOException
- Throws:
java.io.IOException
-
read
int read(byte[] bytes, int off, int len) throws java.io.IOException- Throws:
java.io.IOException
-
skip
long skip(long n) throws java.io.IOException
- Throws:
java.io.IOException
-
available
int available() throws java.io.IOException- Throws:
java.io.IOException
-
mark
void mark(int readlimit)
-
markSupported
boolean markSupported()
-
reset
void reset() throws java.io.IOException- Throws:
java.io.IOException
-
close
void close() throws java.io.IOException- Throws:
java.io.IOException
-
-