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