Skip to content

Commit

Permalink
adapt wording for all create context rpcs and requests
Browse files Browse the repository at this point in the history
  • Loading branch information
pstaeck committed Sep 7, 2023
1 parent c38f3ea commit 7e496f4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/t2iapi/context/context_requests.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ message SetContextStateAssociationRequest {
}

/*
Request to create a new context state with a given association.
Request to create or adapt a context state with a given association.
*/
message CreateContextStateWithAssociationRequest {
string descriptor_handle = 1;
Expand All @@ -56,7 +56,7 @@ message CreateContextStateWithAssociationAndValidatorsRequest {
}

/*
Request to create a new context state with a given association and specific validator.
Request to create or adapt a context state with a given association and specific validator.
*/
message CreateContextStateWithAssocAndSpecificValidatorRequest {
string descriptor_handle = 1;
Expand Down
4 changes: 2 additions & 2 deletions src/t2iapi/context/service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ service ContextService {
returns (BasicResponse);

/*
Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle.
Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle.
The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
the static state, it shall return RESULT_NOT_SUPPORTED.
*/
Expand All @@ -68,7 +68,7 @@ service ContextService {
returns (t2iapi.context.CreateContextStateWithAssociationResponse);

/*
Create a new ContextState instance with the given ContextAssociation value for the given descriptor handle
Create or adapt a ContextState instance with the given ContextAssociation value for the given descriptor handle
and provide at least one Identification and Validator for this ContextState.
The manipulated state shall be persistent until a next manipulation call. If the device is not able to maintain
the static state, it shall return RESULT_NOT_SUPPORTED.
Expand Down

0 comments on commit 7e496f4

Please sign in to comment.