Fetches the next call from the communication management and executes it.

notice

Note: This method is only available in polling mode and aborts the process when called in event mode.

notice

Note: ProcessNextMethodCall() will block until the returned future from the skeleton method callback is ready (value or error set to promise). Therefore, if the application is single-threaded, the method callback must ensure to return a future which is ready. A multi-threaded application may also use another thread to set the future to ready.

Syntax

ara::core::Future<bool> customnamespace::ExampleServiceInterfaceSkeleton::ProcessNextMethodCall()

Returns

Future (boolean)

The promise's value is set as soon as the request has been processed.

Precondition

Thread-safety, Reentrance, Result Delivery

  • Threadsafe : FALSE for same class instance, TRUE for different instances
  • Reentrant : FALSE for same class instance, TRUE for different instances
  • Synchronous : TRUE