Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] RE: Multicast address in discovery protocol extension point


Good point !

Using a proper URI syntax [<scheme>:]<scheme-specific-part>[#<fragment>]is better, since we follow a standard notation.
I'll update the code and the extension point documentation with this change.

Regards,

Javier Montalvo Orús

Development Tools
Symbian Software Limited.



"Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>

11/05/2007 10:37

To
<javier.montalvoorus@xxxxxxxxxxx>
cc
"Target Management developer discussions" <dsdp-tm-dev@xxxxxxxxxxx>
Subject
RE: Multicast address in discovery protocol extension point





 
> As it means ":" cannot be used in the address itself
 
That's not true. Because your syntax says there MUST be a "transport"
part, it's definitely clear that the first colon separates transport from
the address. Any further colon would be part of the address.
 
That's basically the same strategy that URIs use as well, for instance
when a port is used:
 
sftp:myhost:1024
sftp:user@myhost:1024/path#fragment
 
are valid URIs, and the java.net.URI class can properly parse them.

Cheers,
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member

http://www.eclipse.org/dsdp/tm

 


From: javier.montalvoorus@xxxxxxxxxxxx [mailto:javier.montalvoorus@xxxxxxxxxxx]
Sent:
Friday, May 11, 2007 11:32 AM
To:
Oberhuber, Martin
Cc:
Target Management developer discussions
Subject:
Re: Multicast address in discovery protocol extension point



Hi Martin,


No problem changin it.  

Does anybody have any inconvenient having ":" as a separation character between transports and multicast addresses ?
As it means ":" cannot be used in the address itself


Cheers,


Javier Montalvo Orús

Development Tools
Symbian Software Limited.

"Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>

11/05/2007 08:25


To
<javier.montalvoorus@xxxxxxxxxxx>
cc
"Target Management developer discussions" <dsdp-tm-dev@xxxxxxxxxxx>
Subject
Multicast address in discovery protocol extension point







Hi Javier,

Is there a particular reason why you use "#" as the separator
in the multicast address attribute of the discovery protocol
extension point?

UDP#224.0.0.1;TCP#224.0.0.1

I think it would be better and more familiar to use the
syntax that's also used in URIs:
    [<scheme>:]<scheme-specific-part>[#<fragment>]
which would translate to

UDP:224.0.0.1;TCP:224.0.0.1

Can you change that?

Thanks,
--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm

+          <attribute name="multicast" type="string">
+             <annotation>
+                <documentation>
+                   Allows specifying multicast addresses to be used
with different transports in the format
&quot;transportName1#address1;transportName2#address2&quot;
+                </documentation>
+             </annotation>
+          </attribute>
      </complexType>
   </element>

_______________________________________________
dsdp-tm-cvs-commit mailing list
dsdp-tm-cvs-commit@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dsdp-tm-cvs-commit


********************************************************************** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. **********************************************************************


********************************************************************** Symbian Software Ltd is a company registered in England and Wales with registered number 4190020 and registered office at 2-6 Boundary Row, Southwark, London, SE1 8HP, UK. This message is intended only for use by the named addressee and may contain privileged and/or confidential information. If you are not the named addressee you should not disseminate, copy or take any action in reliance on it. If you have received this message in error please notify postmaster@xxxxxxxxxxx and delete the message and any attachments accompanying it immediately. Neither Symbian nor any of its Affiliates accepts liability for any corruption, interception, amendment, tampering or viruses occurring to this message in transit or for any message sent by its employees which is not in compliance with Symbian corporate policy. **********************************************************************


Back to the top