Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 208545

Summary: [Discovery] IServiceInfo should abstract from the network layer
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.discoveryAssignee: Markus Kuppe <bugs.eclipse.org>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: slewis
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 209774    

Description Markus Kuppe CLA 2007-11-02 07:28:25 EDT
An InetAddress and an int as a port is too tightly coupled to the network layer, but services might be located on the local file system or some other location totally independent of a network. Thus IServiceInfo#getAddress() should be changed to return something like an java.net.URI. getPort could simply be removed.
Comment 1 Markus Kuppe CLA 2007-11-14 08:11:08 EST
java.net.URI isn't available in CDC 1.0. 

Btw. http://www.eclipse.org/ecf/NewAndNoteworthy_0.9.3.html shows that an URI
used to be the representation for a Service location
Comment 2 Markus Kuppe CLA 2007-11-29 07:26:06 EST
Fixed in HEAD via bug 209774