Skip to content

Commit

Permalink
ICDHandler initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
thivya-amazon committed Oct 29, 2023
1 parent 159cb86 commit 8249b3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/icd/ICDHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ CHIP_ERROR CheckInMessageHandler::OnMessageReceived(Messaging::ExchangeContext *
// TODO : Determine if there are other messages to be handled
return CHIP_NO_ERROR;
}

void CheckInMessageHandler::OnResponseTimeout(Messaging::ExchangeContext * ec) {}
} // namespace CheckIn
} // namespace app
} // namespace chip
3 changes: 3 additions & 0 deletions src/app/icd/ICDHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ class CheckInMessageHandler : public Messaging::ExchangeDelegate, public Messagi
// UnsolicitedMessageHandler
CHIP_ERROR OnUnsolicitedMessageReceived(const PayloadHeader & payloadHeader, ExchangeDelegate *& newDelegate) override;

// TODO : Follow up to check if this really needs to be a pure virtual function in Exchange delegate
void OnResponseTimeout(Messaging::ExchangeContext * ec) override;

private:
Messaging::ExchangeManager * mExchangeManager = nullptr;
Messaging::ExchangeManager * GetExchangeManager(void) const { return mExchangeManager; }
Expand Down

0 comments on commit 8249b3d

Please sign in to comment.