public class RmiRemoteInputStreamServer extends AbstractRemoteInputStreamServer
inputStream| Constructor and Description |
|---|
RmiRemoteInputStreamServer(InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the stream and the RMI connection to the peer.
|
static RemoteInputStreamServer |
obtain(String host,
int port,
String name)
Utility method to lookup a remote stream peer over RMI.
|
String |
start(String host,
int port) |
available, mark, markSupported, read, read, read, reset, skippublic RmiRemoteInputStreamServer(InputStream inputStream)
public String start(String host, int port) throws RemoteException
RemoteExceptionpublic void close()
throws IOException
close in interface RemoteInputStreamServerclose in class AbstractRemoteInputStreamServerIOExceptionpublic static RemoteInputStreamServer obtain(String host, int port, String name) throws RemoteException
RemoteExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.