Initializes a new instance of
the CmdRunnerMultiWorker class,
which manages multiple instances of the
CmdRunnerWorker class.
Namespace: CleanCode.RemoteCommandsAssembly: CleanCode.RemoteCommands (in CleanCode.RemoteCommands.dll) Version: 1.2.3.0 (1.2.03)
Syntax
public CmdRunnerMultiWorker( ThreadManager threadManager, CmdRunnerWorker..::..CmdRunnerUpdater updater, int port, int timeout, string loginRE, string pwdRE, string promptRE, string login, string pwd )
Parameters
- threadManager
- Type: CleanCode.Threading ThreadManager
The ThreadManager.
- updater
- Type: CleanCode.RemoteCommands CmdRunnerWorker CmdRunnerUpdater
Callback to send results back to main thread.
- port
- Type: System Int32
The port on which to establish connection.
- timeout
- Type: System Int32
The timeout period (only used by TelnetLibExec).
- loginRE
- Type: System String
Regular expression for the login prompt.
- pwdRE
- Type: System String
Regular expression for the password prompt.
- promptRE
- Type: System String
Regular expression for the shell prompt.
- login
- Type: System String
The login name.
- pwd
- Type: System String
The login password.
See Also