File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,12 @@ class ServerClusterInterfaceRegistry
32
32
33
33
// / Associate a specific interface with the given endpoint.
34
34
// /
35
- // / There MUST be a single cluster registration for any given endpoint
36
- // / and Register will error out if an existing cluster interface `cluster` already
37
- // / exists on the given endpoint for the given clusterid.
35
+ // / A `ServerClusterInterface` may only be associated on a single endpoint id and
36
+ // / there can be only a single registration for a given `endpointId/clusterId` path.
37
+ // /
38
+ // / This means Register WILL RETURN AN ERROR if:
39
+ // / - A registration on the given `endpointId/cluster->GetClusterID()` already exists
40
+ // / - The given `cluster` is already registered for some enpoint id
38
41
// /
39
42
// / Registrations need a valid endpoint id and cluster MUST return a valid cluster id.
40
43
[[nodiscard]] CHIP_ERROR Register (EndpointId endpointId, ServerClusterInterface * cluster);
You can’t perform that action at this time.
0 commit comments