Offers the service.
Syntax
void examplenamespace::ExampleServiceInterfaceSkeleton::OfferService()
Returns
void
Preconditions
- The instance identifier must be valid and must not be malformed.
- All of the fields of the skeleton with setter must have a
SetHandler
registered. - If SOME/IP is configured as the communication binding the application must be connected to the daemon.
- All fields of the skeleton must be initialized that have a notifier or a getter with a registered
GetHandler
. IAM
access must be granted.
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
Example
namespace exampleapplication{
void PPortExampleServiceProvider::StartService() noexcept {
OfferService();
}
} // namespace exampleapplication