File tree Expand file tree Collapse file tree 21 files changed +26
-26
lines changed
Expand file tree Collapse file tree 21 files changed +26
-26
lines changed Original file line number Diff line number Diff line change @@ -68,14 +68,14 @@ constexpr char const _modelName[]{ "ServiceModel" };
6868// Describe model, register the service and the client in 2 different threads "Thread1" and "Thread2"
6969BEGIN_MODEL (_modelName)
7070 // Thread 1 without watchdog, contains a service provider
71- BEGIN_REGISTER_THREAD( " Thread1" , NECommon::WATCHDOG_IGNORE )
71+ BEGIN_REGISTER_THREAD( " Thread1" )
7272 BEGIN_REGISTER_COMPONENT( " ServiceProvider" , ServiceProvider )
7373 REGISTER_IMPLEMENT_SERVICE( NEHelloService::ServiceName, NEHelloService::InterfaceVersion )
7474 END_REGISTER_COMPONENT( " ServiceProvider" )
7575 END_REGISTER_THREAD( " Thread1" )
7676
7777 // Thread 2 without watchdog, contains a service consumer
78- BEGIN_REGISTER_THREAD( " Thread2" , NECommon::WATCHDOG_IGNORE )
78+ BEGIN_REGISTER_THREAD( " Thread2" )
7979 BEGIN_REGISTER_COMPONENT( " ServiceClient" , ServiceConsumer )
8080 REGISTER_DEPENDENCY( " ServiceProvider" ) /* dependency reference to the remote service*/
8181 END_REGISTER_COMPONENT( " ServiceClient" )
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ constexpr char const _modelName[]{ "ServiceModel" };
6262// Describe model, register the service and the client in 2 different threads "Thread1" and "Thread2"
6363BEGIN_MODEL (_modelName)
6464 // Thread 1 without watchdog, contains a service consumer
65- BEGIN_REGISTER_THREAD( " Thread1" , NECommon::WATCHDOG_IGNORE )
65+ BEGIN_REGISTER_THREAD( " Thread1" )
6666 BEGIN_REGISTER_COMPONENT( " ServiceClient" , ServiceConsumer )
6767 REGISTER_DEPENDENCY( " ServiceProvider" ) /* dependency reference to the remote service*/
6868 END_REGISTER_COMPONENT( " ServiceClient" )
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ constexpr char const _modelName[]{ "ServiceModel" };
5353// Describe model, register the service and the client in 2 different threads "Thread1" and "Thread2"
5454BEGIN_MODEL (_modelName)
5555 // Thread 1, provides a service
56- BEGIN_REGISTER_THREAD( " Thread1" , NECommon::WATCHDOG_IGNORE )
56+ BEGIN_REGISTER_THREAD( " Thread1" )
5757 BEGIN_REGISTER_COMPONENT( " ServiceProvider" , ServiceProvider )
5858 REGISTER_IMPLEMENT_SERVICE( NEHelloService::ServiceName, NEHelloService::InterfaceVersion )
5959 END_REGISTER_COMPONENT( " ServiceProvider" )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ const String _client(NEUtilities::generateName("ServiceClient"));
2626// Describe model, register the service consumer (client)
2727BEGIN_MODEL (_modelName)
2828
29- BEGIN_REGISTER_THREAD( " Thread1" , NECommon::WATCHDOG_IGNORE )
29+ BEGIN_REGISTER_THREAD( " Thread1" )
3030 BEGIN_REGISTER_COMPONENT( _client, ClientComponent )
3131 REGISTER_DEPENDENCY( " ServiceComponent" ) /* reference to the service*/
3232 END_REGISTER_COMPONENT( _client )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ constexpr char const _modelName[]{ "ServiceModel" };
2121// Describe model, register the provided service in this model
2222BEGIN_MODEL (_modelName)
2323
24- BEGIN_REGISTER_THREAD( " Thread1" , NECommon::WATCHDOG_IGNORE )
24+ BEGIN_REGISTER_THREAD( " Thread1" )
2525 BEGIN_REGISTER_COMPONENT( " ServiceComponent" , ServiceComponent )
2626 REGISTER_IMPLEMENT_SERVICE( NEHelloService::ServiceName, NEHelloService::InterfaceVersion )
2727 END_REGISTER_COMPONENT( " ServiceComponent" )
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ constexpr char const _modelName[]{ "ServiceModel" };
2222// Describe model, register the service and the client in one thread "Thread1"
2323BEGIN_MODEL (_modelName)
2424
25- BEGIN_REGISTER_THREAD( " Thread1" , NECommon::WATCHDOG_IGNORE )
25+ BEGIN_REGISTER_THREAD( " Thread1" )
2626 // register service in the thread
2727 BEGIN_REGISTER_COMPONENT(" ServiceComponent" , ServiceComponent )
2828 REGISTER_IMPLEMENT_SERVICE( NEHelloService::ServiceName, NEHelloService::InterfaceVersion )
Original file line number Diff line number Diff line change @@ -22,14 +22,14 @@ constexpr char const _modelName[]{ "ServiceModel" };
2222// Describe model, register the service and the client in 2 different threads "Thread1" and "Thread2"
2323BEGIN_MODEL (_modelName)
2424 // Thread 1, provides a service
25- BEGIN_REGISTER_THREAD( " Thread1" , NECommon::WATCHDOG_IGNORE )
25+ BEGIN_REGISTER_THREAD( " Thread1" )
2626 BEGIN_REGISTER_COMPONENT( " ServiceComponent" , ServiceComponent )
2727 REGISTER_IMPLEMENT_SERVICE( NEHelloService::ServiceName, NEHelloService::InterfaceVersion )
2828 END_REGISTER_COMPONENT( " ServiceComponent" )
2929 END_REGISTER_THREAD( " Thread1" )
3030
3131 // Thread 2, is a service client.
32- BEGIN_REGISTER_THREAD( " Thread2" , NECommon::WATCHDOG_IGNORE )
32+ BEGIN_REGISTER_THREAD( " Thread2" )
3333 BEGIN_REGISTER_COMPONENT( " ServiceClient" , ClientComponent )
3434 REGISTER_DEPENDENCY( " ServiceComponent" ) /* reference to the service*/
3535 END_REGISTER_COMPONENT( " ServiceClient" )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ constexpr char const _roleName[] { "TestServiceComponent" }; //!< Service rol
3636BEGIN_MODEL (_modelName)
3737
3838 // define component thread
39- BEGIN_REGISTER_THREAD( " TestServiceThread" , NECommon::WATCHDOG_IGNORE )
39+ BEGIN_REGISTER_THREAD( " TestServiceThread" )
4040 // define component, set role name. This will trigger default 'create' and 'delete' methods of component
4141 BEGIN_REGISTER_COMPONENT(_roleName, ServicingComponent )
4242 // register HelloWorld service implementation.
@@ -53,7 +53,7 @@ BEGIN_MODEL(_modelName)
5353 // ////////////////////////////////////////////////////////////////////////
5454
5555 // define component thread
56- BEGIN_REGISTER_THREAD( " TestClientThread" , NECommon::WATCHDOG_IGNORE )
56+ BEGIN_REGISTER_THREAD( " TestClientThread" )
5757 // define component, set role name. This will trigger default 'create' and 'delete' methods of component
5858 BEGIN_REGISTER_COMPONENT( " TestServiceClient" , ServiceClient )
5959 REGISTER_DEPENDENCY( " TestServiceComponent" )
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const String _serviceClient = NEUtilities::generateName("ServiceClient"); /
3838BEGIN_MODEL (_modelName)
3939
4040 // define component thread
41- BEGIN_REGISTER_THREAD( " TestServiceThread" , NECommon::WATCHDOG_IGNORE )
41+ BEGIN_REGISTER_THREAD( " TestServiceThread" )
4242 // define component, set role name. This will trigger default 'create' and 'delete' methods of component
4343 BEGIN_REGISTER_COMPONENT( _serviceClient.getString(), ServiceClient )
4444 // register service dependency
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ constexpr char const _serviceName[]{ "HelloService" }; //!< The name of provide
3434BEGIN_MODEL (_modelName)
3535
3636 // define component thread
37- BEGIN_REGISTER_THREAD( " TestServiceThread" , NECommon::WATCHDOG_IGNORE )
37+ BEGIN_REGISTER_THREAD( " TestServiceThread" )
3838 // define component, set role name. This will trigger default 'create' and 'delete' methods of component
3939 BEGIN_REGISTER_COMPONENT(_serviceName, ServicingComponent )
4040 // register HelloWorld service implementation.
You can’t perform that action at this time.
0 commit comments