Package repast.simphony.batch.ssh
Class SessionBuilder
java.lang.Object
repast.simphony.batch.ssh.SessionBuilder
Builds Session objects.
- Author:
- Nick Collier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addInstancesToLocal
(int id, int instances) void
addInstancesToRemote
(int id, int instances) void
addKeyFile
(int id, String keyFile) void
void
addWorkingDirectory
(int id, String workingDirectory)
-
Constructor Details
-
SessionBuilder
public SessionBuilder()
-
-
Method Details
-
addHost
- Throws:
IOException
-
addKeyFile
-
addInstancesToRemote
- Throws:
IOException
-
addInstancesToLocal
- Throws:
IOException
-
addWorkingDirectory
- Throws:
IOException
-
addUser
- Throws:
IOException
-
getSessions
- Throws:
IOException
-