Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkuppe2008-11-07 18:06:28 -0500
committermkuppe2008-11-07 18:06:28 -0500
commit1a8e1c510b9fd88d2bcee1e9cd3fe5b8341e8ded (patch)
treed78ac640cf82a4209803e2a85841e58542341c81
parente4ea181d8e7549ee9bd9ef8bb661aa584470838f (diff)
downloadorg.eclipse.ecf-1a8e1c510b9fd88d2bcee1e9cd3fe5b8341e8ded.tar.gz
org.eclipse.ecf-1a8e1c510b9fd88d2bcee1e9cd3fe5b8341e8ded.tar.xz
org.eclipse.ecf-1a8e1c510b9fd88d2bcee1e9cd3fe5b8341e8ded.zip
NEW - bug 230182: [Discovery][jSLP] priority, weight and protocol unset
https://bugs.eclipse.org/bugs/show_bug.cgi?id=230182
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPServiceInfo.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPServiceInfo.java b/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPServiceInfo.java
index dd6972b36..99856fac3 100644
--- a/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPServiceInfo.java
+++ b/providers/bundles/org.eclipse.ecf.provider.jslp/src/org/eclipse/ecf/provider/jslp/container/JSLPServiceInfo.java
@@ -38,6 +38,7 @@ public class JSLPServiceInfo extends ServiceInfo implements IServiceInfo {
this(aSI.getLocation(), ServiceIDFactory.getDefault().createServiceID(IDFactory.getDefault().getNamespaceByName(JSLPNamespace.NAME), aSI.getServiceID().getServiceTypeID(), aSI.getServiceID().getServiceName()), aSI.getPriority(), aSI.getWeight(), aSI.getServiceProperties());
}
+ //If decided to transport prio, proto and weight as ServiceProperties, here would be a good place (remove prio and weight)
public JSLPServiceInfo(ServiceURLAdapter anAdapter, int priority, int weight, ServicePropertiesAdapter aServicePropertiesAdapter) {
this(anAdapter.getURI(), anAdapter.getIServiceID(), priority, weight, aServicePropertiesAdapter.toServiceProperties());
}

Back to the top