From 3306a8e1f35f51873d646b0e80cfd8531a41dd05 Mon Sep 17 00:00:00 2001 From: Jerry Johns Date: Thu, 29 Sep 2022 11:19:30 -0700 Subject: [PATCH] Update ExchangeContext::SetResponseTimeout documentation Function description didn't provide details on what happens if you pass in 0. --- src/messaging/ExchangeContext.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/messaging/ExchangeContext.h b/src/messaging/ExchangeContext.h index 4631cb0e0b81ad..6d6c9e58acf148 100644 --- a/src/messaging/ExchangeContext.h +++ b/src/messaging/ExchangeContext.h @@ -183,6 +183,10 @@ class DLL_EXPORT ExchangeContext : public ReliableMessageContext, // Set the response timeout for the exchange context, regardless of the underlying session type. Using // UseSuggestedResponseTimeout to set a timeout based on the type of the session and the application processing time instead of // using this function is recommended. + // + // If a timeout of 0 is provided, it implies no response is expected. Consequently, ExchangeDelegate::OnResponseTimeout will not + // be called. + // void SetResponseTimeout(Timeout timeout); // This API is used by commands that need to shut down all existing