SNIP_ADAPTIVE_CAN_FIGURE_Figure_6_5_ARACOMAPI
Wortlaut
Figure 6.5: Service Discovery The Communication Management provides a method in the Service Skeleton class to offer the service: ara::core::Result<void> OfferService(); After the method OfferService() has been called, the service can be found by the applications. The Communication Management provides in the Service Proxy class a methods to find a service according to the InstanceIdentifier or InstanceSpecifier: static ara::core::Result<ara::com::ServiceHandleContainer< <ProxyClassName>::HandleType>> FindService(ara::com::InstanceIdentifier instance); static ara::core::Result<ara::com::ServiceHandleContainer< <ProxyClassName>::HandleType>> FindService(ara::core::InstanceSpecifier instance); These methods return a ServiceHandleContainer that can have different number of elements: • Empty: No Service Instance was found • One: A single Service instance was found • Several: Multiple Service instances were found
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
FindService taking InstanceSpecifier returning ServiceHandleContainer.
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | ARAComAPI.pdf |
|---|---|
| Dokumentseite | Seite 103 |
| Ziel-Modul | com (adaptive) |
| Ziel-Anforderung | SWS_CM_00622 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |