Skip to content

Commit

Permalink
Fix incorrect comment in MatterCallbacks. (#32723)
Browse files Browse the repository at this point in the history
The comment for the Pre callback was fixed, but the one for the Post callback was not.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Apr 8, 2024
1 parent 403f837 commit 2129045
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app/util/MatterCallbacks.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,12 @@ class DataModelCallbacks
return CHIP_NO_ERROR;
}

/// This callback is called once the message has been determined to be a command, but
/// after it being dispatched to the receiver.
/// This callback is called once for every command dispatch, after the dispatch is actually
/// done towards the receiver.
///
/// This method is called once for every CommandDataIB (i.e. it may be called several times
/// in the case of batch invoke, where a single `InvokeRequestMessage` may contain several
/// CommandDataIB entries).
virtual void PostCommandReceived(const chip::app::ConcreteCommandPath & commandPath,
const chip::Access::SubjectDescriptor & subjectDescriptor)
{}
Expand Down

0 comments on commit 2129045

Please sign in to comment.