-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bret Ambrose
committed
Mar 6, 2024
1 parent
590f947
commit 545aba0
Showing
4 changed files
with
371 additions
and
23 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
include/aws/mqtt/private/request-response/request_response.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef AWS_MQTT_PRIVATE_REQUEST_RESPONSE_REQUEST_RESPONSE_H | ||
#define AWS_MQTT_PRIVATE_REQUEST_RESPONSE_REQUEST_RESPONSE_H | ||
|
||
/** | ||
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* SPDX-License-Identifier: Apache-2.0. | ||
*/ | ||
|
||
#include <aws/mqtt/mqtt.h> | ||
|
||
/* | ||
* Describes a change to the state of a request-response client subscription | ||
*/ | ||
enum aws_rr_subscription_event_type { | ||
|
||
/* | ||
* A subscribe succeeded | ||
*/ | ||
ARRSET_SUBSCRIPTION_SUBSCRIBE_SUCCESS, | ||
|
||
/* | ||
* A subscribe failed | ||
*/ | ||
ARRSET_SUBSCRIPTION_SUBSCRIBE_FAILURE, | ||
|
||
/* | ||
* A previously successful subscription has ended (generally due to a failure to resume a session) | ||
*/ | ||
ARRSET_SUBSCRIPTION_ENDED | ||
}; | ||
|
||
#endif /* AWS_MQTT_PRIVATE_REQUEST_RESPONSE_REQUEST_RESPONSE_H */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.