Skip to content

Commit

Permalink
Update ExchangeContext::SetResponseTimeout documentation
Browse files Browse the repository at this point in the history
Function description didn't provide details on what happens if you pass
in 0.
  • Loading branch information
mrjerryjohns committed Sep 29, 2022
1 parent a6ecd62 commit 3306a8e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/messaging/ExchangeContext.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3306a8e

Please sign in to comment.