Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Finkbeiner2016-12-05 16:03:06 -0500
committerAndrew M. Finkbeiner2016-12-05 16:03:06 -0500
commitb242b32f29a4f05371a31e32df8dc12e74609bc3 (patch)
tree3921eb7a882b9ddf7b02215ac334f2ce5a7172cb
parentcdf9f5af145874b1f18adc74f0510cb42ad3c971 (diff)
downloadorg.eclipse.osee-b242b32f29a4f05371a31e32df8dc12e74609bc3.tar.gz
org.eclipse.osee-b242b32f29a4f05371a31e32df8dc12e74609bc3.tar.xz
org.eclipse.osee-b242b32f29a4f05371a31e32df8dc12e74609bc3.zip
bug[ats_ATS327008]: Fix endpoint broadcast clear
-rw-r--r--plugins/org.eclipse.osee.ote.client/META-INF/MANIFEST.MF1
-rw-r--r--plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/TestClientServiceImpl.java6
2 files changed, 7 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.ote.client/META-INF/MANIFEST.MF b/plugins/org.eclipse.osee.ote.client/META-INF/MANIFEST.MF
index 640b1ba0efc..adf4b5c45a0 100644
--- a/plugins/org.eclipse.osee.ote.client/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.osee.ote.client/META-INF/MANIFEST.MF
@@ -60,6 +60,7 @@ Import-Package: net.jini.activation,
org.eclipse.osee.ote.core.environment.status,
org.eclipse.osee.ote.core.framework,
org.eclipse.osee.ote.core.framework.prompt,
+ org.eclipse.osee.ote.endpoint,
org.eclipse.osee.ote.message,
org.osgi.framework,
org.osgi.service.packageadmin,
diff --git a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/TestClientServiceImpl.java b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/TestClientServiceImpl.java
index eaf5c696bcb..4ee792e53d7 100644
--- a/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/TestClientServiceImpl.java
+++ b/plugins/org.eclipse.osee.ote.client/src/org/eclipse/osee/ote/service/core/TestClientServiceImpl.java
@@ -30,9 +30,11 @@ import org.eclipse.osee.connection.service.IConnectorListener;
import org.eclipse.osee.connection.service.IServiceConnector;
import org.eclipse.osee.framework.jdk.core.util.EnhancedProperties;
import org.eclipse.osee.ote.core.OSEEPerson1_4;
+import org.eclipse.osee.ote.core.ServiceUtility;
import org.eclipse.osee.ote.core.environment.TestEnvironmentConfig;
import org.eclipse.osee.ote.core.environment.interfaces.IHostTestEnvironment;
import org.eclipse.osee.ote.core.environment.interfaces.ITestEnvironment;
+import org.eclipse.osee.ote.endpoint.OteUdpEndpoint;
import org.eclipse.osee.ote.service.Activator;
import org.eclipse.osee.ote.service.ConnectionEvent;
import org.eclipse.osee.ote.service.IEnvironmentConfigurer;
@@ -366,6 +368,10 @@ public class TestClientServiceImpl implements IOteClientService, IConnectorListe
if (testConnection != null && testConnection.getId().equals(id)) {
testConnection = null;
listenerNotifier.notifyConnectionLost(connector);
+ OteUdpEndpoint endpoint = ServiceUtility.getService(OteUdpEndpoint.class);
+ if(endpoint != null){
+ endpoint.removeBroadcast(null);
+ }
}
}

Back to the top