Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2013-12-18 04:22:36 -0500
committerMarkus Tiede2013-12-18 04:22:36 -0500
commitb769d8eb9d2cea26d48046e4e36cfbc8676adb52 (patch)
treed1a1cf3f65c4170bbd7e35f108717090b8152208 /org.eclipse.jubula.autagent
parent6db0f93f3e67d87918b31e418c8592932565dda5 (diff)
downloadorg.eclipse.jubula.core-b769d8eb9d2cea26d48046e4e36cfbc8676adb52.tar.gz
org.eclipse.jubula.core-b769d8eb9d2cea26d48046e4e36cfbc8676adb52.tar.xz
org.eclipse.jubula.core-b769d8eb9d2cea26d48046e4e36cfbc8676adb52.zip
Non-sprint task - optimizations for p1 issue http://bugzilla.bredex.de/1284 : localhost inet access is now statically cached; lower SO_LINGER from 10 to 5; increased default connection timeout to 20 seconds.
Diffstat (limited to 'org.eclipse.jubula.autagent')
-rw-r--r--org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java
index e35103959..20c1965af 100644
--- a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java
+++ b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java
@@ -37,6 +37,7 @@ import org.eclipse.jubula.communication.message.Message;
import org.eclipse.jubula.communication.message.PrepareForShutdownMessage;
import org.eclipse.jubula.communication.message.StartAUTServerMessage;
import org.eclipse.jubula.tools.constants.AutConfigConstants;
+import org.eclipse.jubula.tools.constants.EnvConstants;
import org.eclipse.jubula.tools.exception.CommunicationException;
import org.eclipse.jubula.tools.exception.JBVersionException;
import org.eclipse.jubula.tools.registration.AutIdentifier;
@@ -110,8 +111,7 @@ public class AutAgent {
PrintStream printStream =
new PrintStream(socket.getOutputStream());
- printStream.println(InetAddress.getLocalHost()
- .getCanonicalHostName());
+ printStream.println(EnvConstants.LOCALHOST_FQDN);
printStream.println(autCommunicator.getLocalPort());
printStream.flush();
@@ -211,7 +211,7 @@ public class AutAgent {
/**
* Error listener for communication with the AUT Server. Handles
- * registration / deregistration when the connection is gained / lost.
+ * registration / de-registration when the connection is gained / lost.
*
* @author BREDEX GmbH
* @created Mar 22, 2010
@@ -324,7 +324,7 @@ public class AutAgent {
/**
* flag indicating whether AUTs that attempt to register with an AUT ID
- * that is already regsitered should be shutdown
+ * that is already registered should be shutdown
*/
private boolean m_killDuplicateAuts = true;
@@ -354,7 +354,7 @@ public class AutAgent {
/**
* Constructor
*
- * Starts the contsructed agent on the given port.
+ * Starts the constructed agent on the given port.
*
* @param port The port number on which to start the agent. A port number
* of <code>0</code> starts the agent on an available port.

Back to the top