4 #ifndef pqServerConfiguration_h 5 #define pqServerConfiguration_h 56 void setName(
const QString& name);
64 bool isNameDefault()
const;
69 static QString defaultName();
75 void setResource(
const QString&);
99 int connectionTimeout(
int defaultTimeout = 60)
const;
100 void setConnectionTimeout(
int connectionTimeout);
129 QString command(
double& processWait,
double& delay)
const;
141 QString execCommand(
double& processWait,
double& delay)
const;
146 void setStartupToManual();
151 void setStartupToCommand(
double processWait,
double delay,
const QString& command);
156 QString toString(
vtkIndent indent)
const;
186 QString portForwardingLocalPort()
const;
196 int localPortForwardingPort()
const;
201 void setDefaultLocalPortForwardingPort(
int port);
206 void parseSshPortForwardingXML();
207 QString sshFullCommand(QString sshCommand,
vtkPVXMLElement* sshConfigXML)
const;
209 static QString termCommand();
210 static QString sshCommand();
211 static QString lookForCommand(QString command);
214 void constructor(
const QString& name);
218 bool PortForwarding =
false;
219 bool SSHCommand =
false;
220 int LocalPortForwardingPort = -1;
221 int DefaultLocalPortForwardingPort = -1;
#define PARAVIEW_DEPRECATED_IN_5_14_0(reason)
void setMutable(bool val)
bool isMutable() const
Get/Set whether the configuration is mutable.
bool isPortForwarding() const
Get if this is a port forwarding configuration.
StartupType
Types of start.
pqServerConfiguration corresponds to a server connection configuration.
This is used by vtkPVXMLParser to represent an XML document starting at the root element.
pqServerResource encapsulates a resource in ParaView.