4 #ifndef pqServerConfiguration_h
5 #define pqServerConfiguration_h
7 #include "pqCoreModule.h"
54 void setName(
const QString& name);
62 bool isNameDefault()
const;
67 static QString defaultName();
73 void setResource(
const QString&);
97 int connectionTimeout(
int defaultTimeout = 60)
const;
98 void setConnectionTimeout(
int connectionTimeout);
114 StartupType startupType()
const;
127 QString command(
double& processWait,
double& delay)
const;
139 QString execCommand(
double& processWait,
double& delay)
const;
144 void setStartupToManual();
149 void setStartupToCommand(
double processWait,
double delay,
const QString& command);
154 QString toString(
vtkIndent indent)
const;
183 QString portForwardingLocalPort()
const;
188 void parseSshPortForwardingXML();
189 QString sshFullCommand(QString sshCommand,
vtkPVXMLElement* sshConfigXML)
const;
191 static QString termCommand();
192 static QString sshCommand();
193 static QString lookForCommand(QString command);
196 void constructor(
const QString& name);
200 bool PortForwarding =
false;
201 bool SSHCommand =
false;
202 QString PortForwardingLocalPort;