Subversion Repositories SmartDukaan

Rev

Rev 32408 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32408 Rev 33973
Line 1... Line 1...
1
package com.spice.profitmandi.service.SshServer;
1
package com.spice.profitmandi.service.SshServer;
2
 
2
 
-
 
3
 
-
 
4
import org.springframework.stereotype.Service;
-
 
5
 
-
 
6
import java.util.List;
-
 
7
import java.util.Map;
-
 
8
 
-
 
9
@Service
3
public interface SSHService {
10
public interface SSHService {
4
    void executeCommand(String ipAddress, int port, String username, String password, String commandToExec);
11
    void executeCommand(String ipAddress, int port, String username, String password, String commandToExec);
-
 
12
    Map<String, List<String>> readDirectory(String path);
5
}
13
}