Skip to content

Commit

Permalink
update RefreshLiveness naming (#31354)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google authored and pull[bot] committed May 30, 2024
1 parent cc6f4ef commit 9edac19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/ReadClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ CHIP_ERROR ReadClient::ProcessReportData(System::PacketBufferHandle && aPayload,
// a subscription and have a valid value for mMaxInterval which the function
// relies on.
//
mpCallback.RefreshLiveness(*this);
mpCallback.NotifySubscriptionStillActive(*this);
err = RefreshLivenessCheckTimer();
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/ReadClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ReadClient : public Messaging::ExchangeDelegate
* receives an OnDone call to destroy the object.
*
*/
virtual void RefreshLiveness(const ReadClient & apReadClient) {}
virtual void NotifySubscriptionStillActive(const ReadClient & apReadClient) {}

/**
* Used to signal the commencement of processing of the first attribute or event report received in a given exchange.
Expand Down

0 comments on commit 9edac19

Please sign in to comment.