diff options
author | Anders Svensson <[email protected]> | 2017-04-13 10:26:36 +0200 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2017-06-13 14:03:58 +0200 |
commit | c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e (patch) | |
tree | c57904f6ead9863c8ed35a1ed24de47d05910d0c /lib/diameter/doc | |
parent | 2013b1c55e2c199e59610cf9bb7e0cb60424f276 (diff) | |
download | otp-c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e.tar.gz otp-c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e.tar.bz2 otp-c74b1c4a46c71bd3b258477ca4bf1b5d39c5095e.zip |
Let candidate peers be passed to diameter:call/4
To solve the problem of being able to send messages to a peer that
hasn't advertised support for the application in question, as discussed
in the parent commit. diameter:call/4 can be passed 'peer' options to
identify candidates, and the only requirement is that an appropriate
dictionary be configured for encode. Filters are applied as if
candidates had been selected by advertised application.
Diffstat (limited to 'lib/diameter/doc')
-rw-r--r-- | lib/diameter/doc/src/diameter.xml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml index 72181a42b0..2cbe48ecce 100644 --- a/lib/diameter/doc/src/diameter.xml +++ b/lib/diameter/doc/src/diameter.xml @@ -21,7 +21,7 @@ <copyright> <year>2011</year> -<year>2016</year> +<year>2017</year> <holder>Ericsson AB. All Rights Reserved.</holder> </copyright> <legalnotice> @@ -300,6 +300,17 @@ corresponding list of filters. Defaults to <c>none</c>.</p> </item> +<tag><c>{peer, &app_peer_ref;}</c></tag> +<item> +<p> +Peer to which the request in question can be sent, preempting the +selection of peers having advertised support for the Diameter +application in question. +Multiple options can be specified, and their order is +respected in the candidate lists passed to a subsequent +&app_pick_peer; callback.</p> +</item> + <tag><c>{timeout, &dict_Unsigned32;}</c></tag> <item> <p> |