- /** Diameter agents CANNOT modify the end-to-end. True value stands for intermediate agents, false for request originators */
- void setProxied(bool proxied = true) throw() { a_proxied = proxied; }
+ /**
+ * In general, diameter agents CANNOT modify the end-to-end value during sending the message to the peer.
+ * That 'true' value stands for intermediate agents and also for retransmissions (must keep end-to-end
+ * during 4 minutes even upon reboots). False is used for new request created from end points (originators)
+ * as diameter clients.
+ */
+ bool updateEndToEnd() const throw() { return a_updateEndToEnd; }
+
+ /**
+ * In general, diameter agents CANNOT modify the end-to-end value during sending the message to the peer.
+ * The appropiate behaviour must be configured before sending the message. By default, the diameter::comm
+ * message will sequence the end-to-end increasing the initial value created during session establishment.
+ */
+ void updateEndToEnd(bool update) throw() { a_updateEndToEnd = update; }