public interface I_CmsRemoteShell extends java.rmi.Remote
Modifier and Type | Method and Description |
---|---|
void |
end()
Signals to the remote object that the client is done with it (i.e. it can be disposed).
|
CmsShellCommandResult |
executeCommand(java.lang.String cmd,
java.util.List<java.lang.String> params)
Executes a shell command .
|
java.lang.String |
getPrompt()
Returns the initial prompt to use.
|
void end() throws java.rmi.RemoteException
java.rmi.RemoteException
- if something goes wrongCmsShellCommandResult executeCommand(java.lang.String cmd, java.util.List<java.lang.String> params) throws java.rmi.RemoteException
cmd
- the commandparams
- the parametersjava.rmi.RemoteException
- if RMI stuff goes wrongjava.lang.String getPrompt() throws java.rmi.RemoteException
java.rmi.RemoteException
- if RMI stuff goes wrong