Skip to content

Commit 448c26d

Browse files
committed
Updated back the comments and file layout
1 parent bda32ac commit 448c26d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/app/AttributeValueDecoder.h

+8-2
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,15 @@ class AttributeValueDecoder
5454

5555
bool TriedDecode() const { return mTriedDecode; }
5656

57-
const Access::SubjectDescriptor & GetSubjectDescriptor() const { return mSubjectDescriptor; }
57+
/**
58+
* The accessing fabric index for this write interaction.
59+
*/
60+
FabricIndex AccessingFabricIndex() const { return mSubjectDescriptor.fabricIndex; }
5861

59-
FabricIndex AccessingFabricIndex() const { return GetSubjectDescriptor().fabricIndex; }
62+
/**
63+
* The accessing subject descriptor for this write interaction.
64+
*/
65+
const Access::SubjectDescriptor & GetSubjectDescriptor() const { return mSubjectDescriptor; }
6066

6167
private:
6268
TLV::TLVReader & mReader;

src/app/AttributeValueEncoder.h

+3
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,9 @@ class AttributeValueEncoder
149149

150150
const Access::SubjectDescriptor & GetSubjectDescriptor() const { return mSubjectDescriptor; }
151151

152+
/**
153+
* The accessing fabric index for this read or subscribe interaction.
154+
*/
152155
FabricIndex AccessingFabricIndex() const { return GetSubjectDescriptor().fabricIndex; }
153156

154157
/**

0 commit comments

Comments
 (0)