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, skip
public RmiRemoteInputStreamServer(InputStream inputStream)
public String start(String host, int port) throws RemoteException
RemoteException
public void close() throws IOException
close
in interface RemoteInputStreamServer
close
in class AbstractRemoteInputStreamServer
IOException
public static RemoteInputStreamServer obtain(String host, int port, String name) throws RemoteException
RemoteException
Copyright © 2005–2017 Alfresco Software. All rights reserved.