update RefreshLiveness naming (#31354)
diff --git a/src/app/ReadClient.cpp b/src/app/ReadClient.cpp
index f89c8be..4e12b5a 100644
--- a/src/app/ReadClient.cpp
+++ b/src/app/ReadClient.cpp
@@ -617,7 +617,7 @@
// a subscription and have a valid value for mMaxInterval which the function
// relies on.
//
- mpCallback.RefreshLiveness(*this);
+ mpCallback.NotifySubscriptionStillActive(*this);
err = RefreshLivenessCheckTimer();
}
}
diff --git a/src/app/ReadClient.h b/src/app/ReadClient.h
index ebe4de8..f1226a4 100644
--- a/src/app/ReadClient.h
+++ b/src/app/ReadClient.h
@@ -90,7 +90,7 @@
* 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.