Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-10-03 05:26:23 +0000
committerslewis2007-10-03 05:26:23 +0000
commitff2f4e753375e9b1406ac66ae2b21874fc0015fc (patch)
treed3c8e9836ebfabde494f5606c88941b3151b8d7e /framework/bundles/org.eclipse.ecf.discovery
parent82a1d1ed2b93a051ae81b26e4ba7110b9d66f050 (diff)
downloadorg.eclipse.ecf-ff2f4e753375e9b1406ac66ae2b21874fc0015fc.tar.gz
org.eclipse.ecf-ff2f4e753375e9b1406ac66ae2b21874fc0015fc.tar.xz
org.eclipse.ecf-ff2f4e753375e9b1406ac66ae2b21874fc0015fc.zip
Added ServiceInfo/4 constructor
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.discovery')
-rw-r--r--framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/ServiceInfo.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/ServiceInfo.java b/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/ServiceInfo.java
index 6b3931f9e..1d675b983 100644
--- a/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/ServiceInfo.java
+++ b/framework/bundles/org.eclipse.ecf.discovery/src/org/eclipse/ecf/discovery/ServiceInfo.java
@@ -46,6 +46,10 @@ public class ServiceInfo implements IServiceInfo, Serializable {
this.properties = props;
}
+ public ServiceInfo(InetAddress address, IServiceID serviceID, int port, IServiceProperties props) {
+ this(address, serviceID, port, DEFAULT_PRIORITY, DEFAULT_WEIGHT, props);
+ }
+
public ServiceInfo(InetAddress address, IServiceID serviceID, int port) {
this(address, serviceID, port, DEFAULT_PRIORITY, DEFAULT_WEIGHT, new ServiceProperties());
}

Back to the top