Subversion Repositories XServices

Rev

Rev 46 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46 Rev 58
Line 33... Line 33...
33
			@WebParam(name = "executable") String cmd,
33
			@WebParam(name = "executable") String cmd,
34
			@WebParam(name = "arg") String[] args);
34
			@WebParam(name = "arg") String[] args);
Line 35... Line 35...
35
 
35
 
36
	@WebMethod(operationName = "runCommandWithSSH")
36
	@WebMethod(operationName = "runCommandWithSSH")
37
	public abstract ReturnCode runCommandWithSSH(
37
	public abstract ReturnCode runCommandWithSSH(
38
			@WebParam(name = "host") String host,
-
 
39
			@WebParam(name = "port") int port,
-
 
40
			@WebParam(name = "username") String username,
-
 
41
			@WebParam(name = "password") String password,
38
			@WebParam(name = "host") HostConnection host,
42
			@WebParam(name = "command") String cmd,
39
			@WebParam(name = "command") String cmd,
Line 43... Line 40...
43
			@WebParam(name = "timeout") long timeout);
40
			@WebParam(name = "timeout") long timeout);
44
 
41
 
45
	@WebMethod(operationName = "runCommandWithSSHKeyAuth")
42
	@WebMethod(operationName = "runCommandWithSSHKeyAuth")
46
	public abstract ReturnCode runCommandWithSSHKeyAuth(
-
 
47
			@WebParam(name = "host") String host,
-
 
48
			@WebParam(name = "port") int port,
-
 
49
			@WebParam(name = "username") String username,
43
	public abstract ReturnCode runCommandWithSSHKeyAuth(
50
			@WebParam(name = "passphrase") String passphrase,
44
			@WebParam(name = "host") HostConnection host,
51
			@WebParam(name = "keyfile") String keyfile,
45
			@WebParam(name = "keyfile") String keyfile,
Line 52... Line 46...
52
			@WebParam(name = "command") String cmd,
46
			@WebParam(name = "command") String cmd,