Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-11-04 10:30:35 +0000
committerMarkus Tiede2014-11-04 10:45:02 +0000
commit25916b381767d57219c713598f26d3194fecec5b (patch)
treeeff447e7600fe13e0dfd674c43d6e28a815bc419 /org.eclipse.jubula.client.api
parentcad56f1cc9402b7bea88962dd92a94bd8288d12b (diff)
downloadorg.eclipse.jubula.core-25916b381767d57219c713598f26d3194fecec5b.tar.gz
org.eclipse.jubula.core-25916b381767d57219c713598f26d3194fecec5b.tar.xz
org.eclipse.jubula.core-25916b381767d57219c713598f26d3194fecec5b.zip
Sprint task - p1 fix for http://eclip.se/449874 - part 1
Diffstat (limited to 'org.eclipse.jubula.client.api')
-rw-r--r--org.eclipse.jubula.client.api/META-INF/MANIFEST.MF1
-rw-r--r--org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/commands/ConnectToAutResponseCommand.java63
2 files changed, 64 insertions, 0 deletions
diff --git a/org.eclipse.jubula.client.api/META-INF/MANIFEST.MF b/org.eclipse.jubula.client.api/META-INF/MANIFEST.MF
index a0b5cbfce..d7347c61b 100644
--- a/org.eclipse.jubula.client.api/META-INF/MANIFEST.MF
+++ b/org.eclipse.jubula.client.api/META-INF/MANIFEST.MF
@@ -15,6 +15,7 @@ Require-Bundle: org.slf4j.api;bundle-version="[1.7.2,2.0.0)",
org.eclipse.jubula.toolkit.api;bundle-version="[2.4.0,2.5.0)",
org.eclipse.jubula.communication;bundle-version="[2.4.0,2.5.0)"
Export-Package: org.eclipse.jubula.client.internal,
+ org.eclipse.jubula.client.internal.commands,
org.eclipse.jubula.client.internal.exceptions,
org.eclipse.jubula.client.internal.utils,
org.eclipse.jubula.client.launch
diff --git a/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/commands/ConnectToAutResponseCommand.java b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/commands/ConnectToAutResponseCommand.java
new file mode 100644
index 000000000..67d6654fd
--- /dev/null
+++ b/org.eclipse.jubula.client.api/src/org/eclipse/jubula/client/internal/commands/ConnectToAutResponseCommand.java
@@ -0,0 +1,63 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2010 BREDEX GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * BREDEX GmbH - initial API and implementation and/or initial documentation
+ *******************************************************************************/
+package org.eclipse.jubula.client.internal.commands;
+
+import org.eclipse.jubula.communication.internal.APICommand;
+import org.eclipse.jubula.communication.internal.message.ConnectToAutResponseMessage;
+import org.eclipse.jubula.communication.internal.message.Message;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
+/**
+ * Client-side handling for the result of an attempt to connect to an AUT.
+ *
+ * @author BREDEX GmbH
+ * @created Mar 19, 2010
+ */
+public class ConnectToAutResponseCommand implements APICommand {
+
+ /** the logger */
+ private static final Logger LOG =
+ LoggerFactory.getLogger(ConnectToAutResponseCommand.class);
+
+ /** the message */
+ private ConnectToAutResponseMessage m_message;
+
+ /**
+ * {@inheritDoc}
+ */
+ public Message execute() {
+ // Nothing to execute
+ return null;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public ConnectToAutResponseMessage getMessage() {
+ return m_message;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public void setMessage(Message message) {
+ m_message = (ConnectToAutResponseMessage)message;
+ }
+
+ /**
+ * {@inheritDoc}
+ */
+ public void timeout() {
+ LOG.warn(this.getClass().getName() + "timeout() called"); //$NON-NLS-1$
+ }
+}

Back to the top