Support Request #232
closedStopping ADTF Configuration from Run() method of a Filter
Description
Request
Use Case: I am trying to stop the ADTF configuration from the RUN method of one of the Filters in my configuration (if certain condition is met). calling a filter#s stop would just stop that filter while the other filters in the configuration are still running.
Solution
It is not possible to shutdown the adtf configuration from your filter because the filter itself will be destroyed if you shutdown/deinit your configuration. You need to implement an ADTF Service.
E.g. ADTF SDK: Demo for a service
Maybe it is possible to use IRuntime::SetRunLevel to this but it is a bad idea to use filter/services to control adtf.
Updated by hidden about 7 years ago
- Project changed from Public Support to 5
- Author changed from hidden to hidden
- Topic set to ADTF::Common
Updated by hidden about 7 years ago
- Status changed from New to In Progress
- Author changed from hidden to hidden
Updated by hidden about 7 years ago
Hello Venkata Rama Prasad,
it is not possible to shutdown the adtf configuration from your filter because the filter itself will be destroyed if you shutdown/deinit your configuration. You need to implement an ADTF Service.
E.g. ADTF SDK: Demo for a service
Maybe it is possible to use IRuntime::SetRunLevel to this but it is a bad idea to use filter/services to control adtf.
Updated by hidden about 7 years ago
- Status changed from In Progress to Customer Feedback Required
Updated by hidden about 7 years ago
Support:¶
Please give us your feedback about this issue, otherwise we will close this ticket tomorrow (28.02.2017).
Updated by hidden about 7 years ago
- Description updated (diff)
- Status changed from Customer Feedback Required to To Be Closed
- Resolution set to Solved Issue
No Feedback, ticket can be closed.
@Florian, Ticket kann geschlossen werden.
Updated by hidden over 6 years ago
- Project changed from 5 to Public Support
- Private changed from Yes to No