LibraryToggle FramesPrintFeedback

A discovery URI must conform to the following syntax:

discovery://(DiscoveryAgentUri)?TransportOptions

Where the discovery agent URI, DiscoveryAgentUri, identifies a discovery agent, as described in Discovery agents above. The transport options, ?TransportOptions, are specified in the form of a query list (where the supported options are described in Table 1.2 ). If no transport options are required, you can use the following alternative syntax:

discovery://DiscoveryAgentUri

It is also possible to apply options to the discovered transport by adding those options to the discovery URI. When parsing the URI, the discovery protocol consumes those options that it recognizes (the ones listed in Table 1.2). Any remaining options are held in reserve until a transport is discovered. When the discovered transport is resolved, the remaining options are applied to that transport.

For example, suppose that you expect to discover a TCP endpoint, you can then add some TCP transport options to your discovery URI. The following discovery URI shows how to set the connectionTimeout TCP transport option:

discovery://(multicast://default)?connectionTimeout=2000
Comments powered by Disqus