24
24
#include < app/icd/client/CheckInDelegate.h>
25
25
#include < app/icd/client/ICDClientStorage.h>
26
26
27
- class CheckInCompleteCallback
28
- {
29
- public:
30
- virtual ~CheckInCompleteCallback () {}
31
-
32
- /* *
33
- * @brief Callback used to let the application know that a check-in message was received and validated.
34
- *
35
- * The callback will be executed in CHIP main loop. Implementations should avoid blocking operations in this callback.
36
- *
37
- * @param[in] clientInfo - ICDClientInfo object representing the state associated with the
38
- * node that sent the check-in message.
39
- */
40
- virtual void OnCheckInComplete (const chip::app::ICDClientInfo & clientInfo) = 0;
41
- };
42
-
43
27
class ChipToolCheckInDelegate : public chip ::app::CheckInDelegate
44
28
{
45
29
public:
@@ -50,25 +34,7 @@ class ChipToolCheckInDelegate : public chip::app::CheckInDelegate
50
34
chip::app::ICDClientStorage * clientStorage) override ;
51
35
void OnKeyRefreshDone (chip::app::RefreshKeySender * refreshKeySender, CHIP_ERROR error) override ;
52
36
53
- /* *
54
- * @brief Sets a callback for when the Check-In processing completes.
55
- *
56
- * This method does not consider the race condition that the callback is changed during OnCheckInComplete.
57
- *
58
- * @param[in] handler - A pointer to the CheckInCompleteCallback to register.
59
- */
60
- void SetOnCheckInCompleteCallback (CheckInCompleteCallback * handler);
61
-
62
- /* *
63
- * @brief Unsets the callback for when the Check-In processing completes.
64
- *
65
- * This method does not consider the race condition that the callback is changed during OnCheckInComplete.
66
- */
67
- void UnsetOnCheckInCompleteCallback ();
68
-
69
37
private:
70
38
chip::app::ICDClientStorage * mpStorage = nullptr ;
71
39
chip::app::InteractionModelEngine * mpImEngine = nullptr ;
72
-
73
- CheckInCompleteCallback * mpCheckInCompleteCallbacks;
74
40
};
0 commit comments