-
Notifications
You must be signed in to change notification settings - Fork 4
Topic/rdkemw 16330 #192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Topic/rdkemw 16330 #192
Changes from all commits
a84164f
4b93098
e001a47
6479c82
9521142
6319c52
61990b5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -105,7 +105,7 @@ class ctrlm_thunder_plugin_t { | |||||||
| std::string callsign_with_api(); | ||||||||
|
|
||||||||
| /** | ||||||||
| * This functions is used to get a Thunder Plugin property. | ||||||||
| * This function is used to get a Thunder Plugin property. | ||||||||
| * @param method The method in which the user wants to call. | ||||||||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||||||||
| * @param response The WPEFramework JsonObject containing the response from the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||||||||
|
|
@@ -115,7 +115,7 @@ class ctrlm_thunder_plugin_t { | |||||||
| bool property_get(std::string property, void *response, unsigned int retries = 0); | ||||||||
|
Comment on lines
108
to
115
|
||||||||
|
|
||||||||
| /** | ||||||||
| * This functions is used to call a Thunder Plugin method. | ||||||||
| * This function is used to call a Thunder Plugin method. | ||||||||
| * @param method The method in which the user wants to call. | ||||||||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||||||||
| * @param response The WPEFramework JsonObject containing the response from the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||||||||
|
|
@@ -125,7 +125,17 @@ class ctrlm_thunder_plugin_t { | |||||||
| bool call_plugin(std::string method, void *params, void *response, unsigned int retries = 0); | ||||||||
|
|
||||||||
| /** | ||||||||
| * This functions is used to call a Thunder Controller method. | ||||||||
| * This function is used to call a Thunder Plugin method. | ||||||||
| * @param method The method in which the user wants to call. | ||||||||
| * @param params The WPEFramework JsonObject containing the parameters for the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||||||||
| * @param response The WPEFramework JsonObject containing the response from the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | ||||||||
| * @param retries The number of retries if the call times out. | ||||||||
|
Comment on lines
+131
to
+132
|
||||||||
| * @param response The WPEFramework JsonObject containing the response from the call. (We can't include WPEFramework headers in controlMgr .h files as their logging macros clash) | |
| * @param retries The number of retries if the call times out. | |
| * @param response A pointer to the boolean response value from the call. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call_plugin_booleandoes not implement timeout retry behavior likeproperty_getandcall_plugin(which retry onCore::ERROR_TIMEDOUTup toretries). If callers need the same robustness, consider adding an optionalretriesparameter and reusing the same retry loop/logging pattern to keep behavior consistent across Thunder calls.