public class RemoteWorkspaceServer extends Object implements Closeable
This server will register the ephemeral port it uses in the
cnf/cache/remotews directory so that it can be found by clients. This
registration is deleted when the process properly exits.
| Constructor and Description |
|---|
RemoteWorkspaceServer(Workspace workspace)
Create a new Remote Workspace Server.
|
public RemoteWorkspaceServer(Workspace workspace) throws UnknownHostException, IOException
RemoteWorkspace interface. The port number will be registered in
cnf/cache/remotews/<portnr>. That is, it is possible to have
multiple workspaces open on the system workspace. (Locking between
workspaces is not handled though.)workspace - the given workspaceUnknownHostExceptionIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2021. All rights reserved.