Package org.opencms.rmi
Interface I_CmsRemoteShell
- All Superinterfaces:
Remote
- All Known Implementing Classes:
CmsRemoteShell
Remote interface for executing shell commands.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
Signals to the remote object that the client is done with it (i.e.executeCommand
(String cmd, List<String> params) Executes a shell command .Returns the initial prompt to use.
-
Method Details
-
end
Signals to the remote object that the client is done with it (i.e. it can be disposed).- Throws:
RemoteException
- if something goes wrong
-
executeCommand
Executes a shell command .- Parameters:
cmd
- the commandparams
- the parameters- Returns:
- the shell command result
- Throws:
RemoteException
- if RMI stuff goes wrong
-
getPrompt
Returns the initial prompt to use.- Returns:
- the prompt
- Throws:
RemoteException
- if RMI stuff goes wrong
-