Class SmartRemoteMachineActionHandler
- java.lang.Object
-
- org.uitnet.testing.smartfwk.remote_machine.AbstractRemoteMachineActionHandler
-
- org.uitnet.testing.smartfwk.remote_machine.SmartRemoteMachineActionHandler
-
- All Implemented Interfaces:
RemoteMachineConnectionProvider
public class SmartRemoteMachineActionHandler extends AbstractRemoteMachineActionHandler
If you are using privateKey and public key for authentication then key should be generated correctly like the following command: ssh-keygen -m PEM -t rsa -b 4096 -C "your_email@example.com" -f- Author:
- Madhav Krishna
-
-
Field Summary
-
Fields inherited from class org.uitnet.testing.smartfwk.remote_machine.AbstractRemoteMachineActionHandler
appName, connection, lastRequestAccessTimeInMs, remoteMachineConfig, remoteMachineManager, remoteMachineName, sessionExpiryDurationInSeconds
-
-
Constructor Summary
Constructors Constructor Description SmartRemoteMachineActionHandler(String remoteMachineName, String appName, int sessionExpiryDurationInSeconds, RemoteMachineConfig remoteMachineConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteMachineConnectionconnect(RemoteMachineConfig remoteMachineConfig)protected voiddisconnect(RemoteMachineConnection connection)-
Methods inherited from class org.uitnet.testing.smartfwk.remote_machine.AbstractRemoteMachineActionHandler
clone, connect, deleteFiles, disconnect, downloadFile, downloadFile, downloadFileAsDifferentName, downloadFileAsDifferentName, downloadFiles, executeCommand, getFileList, getFolderList, isSessionExpired, setRemoteMachineManager, uploadFile, uploadFile, uploadFileAsDifferentName, uploadFileAsDifferentName, uploadFiles, validateFileExists, validateFilesExist, validateFolderExist, validateFolderExists
-
-
-
-
Constructor Detail
-
SmartRemoteMachineActionHandler
public SmartRemoteMachineActionHandler(String remoteMachineName, String appName, int sessionExpiryDurationInSeconds, RemoteMachineConfig remoteMachineConfig)
-
-
Method Detail
-
connect
public RemoteMachineConnection connect(RemoteMachineConfig remoteMachineConfig)
-
disconnect
protected void disconnect(RemoteMachineConnection connection)
- Specified by:
disconnectin classAbstractRemoteMachineActionHandler
-
-