DEENESPTFRRUARHIKOZHNL

class <SI-Namespace>::proxy::<SI>Proxy

[SWS_CM_00004] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00122

class <SI>Proxy final {...};

Service Interface Proxy

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Forwarding-Header#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy/<SiShortname>_proxy_fwd.h"
Scopenamespace <SI-Namespace>::proxy

User GuideAI-GENERATED

Serves client applications as a typed proxy for service discovery and interaction with a service instance.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: cc07b1e12dfe Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Serves client applications as a typed proxy for service discovery and interaction with a service instance.

The class <SI>Proxy serves client applications as a typed proxy for a service interface to transmit method calls, events, and fields [SWS_CM_99447]. After successful service discovery, the instance is preferably created via the non-throwing factory method Create() [SWS_CM_10438]. The class has move-only semantics and requires the complete release of all referenced data samples prior to its destruction in order to avoid precondition violations [SWS_CM_99444].

Context

The generated class <SI>Proxy acts within the communication architecture of the AUTOSAR Adaptive Platform as a typed client endpoint for a defined service interface. It encapsulates the interaction of a client application with a remote or local instance of this service. Interaction partners include the using software component, the proxy instance itself, and the underlying Communication Management (ara::com), which controls network binding and message transmission. Via the dedicated data members events::<Event> [SWS_CM_99445], fields::<Field> [SWS_CM_99446], and methods::<Method> [SWS_CM_99447], the proxy provides direct access to events, fields, and methods of the service interface.

client Client application proxy <SI>Proxy (events, methods, fields) client->proxy Methodenaufrufe, Ereignisabonnement proxy->client Ergebnisse, Callbacks runtime Communication Management (ara::com / Binding) proxy->runtime Dienstsuche, Nachrichtenversand runtime->proxy Zustands- & Ereignisdaten

Context diagram: Integration of the Service Interface proxy between client application and Communication Management. Sources: [SWS_CM_99445], [SWS_CM_99446], [SWS_CM_99447].

Lifecycle

Creation of a proxy instance requires previously successful service discovery that yields a valid handle instance (HandleType). The preferred creation takes place without throwing exceptions via the static factory method Create() according to the named constructor idiom [SWS_CM_10438], which returns an ara::core::Result containing the proxy or an error code. Alternatively, an explicit constructor <SI>Proxy(handle) exists, which is specified as not exception-safe and may throw a ara::com::ComException in case of an error [SWS_CM_00131]. The handle used for initialization can be queried at any time via GetHandle() [SWS_CM_10383].

Regarding ownership, the proxy has move-only semantics: the copy constructor [SWS_CM_00136] and copy assignment operator [SWS_CM_11551] are explicitly deleted. Transferring the instance is permitted exclusively via the move constructor [SWS_CM_00137] or the exception-safe move assignment operator [SWS_CM_11552]. During its lifetime, the availability status of the service can be actively determined via GetServiceState() [SWS_CM_01073]. Alternatively, SetServiceStateChangeHandler() allows registering a callback function for status changes [SWS_CM_01074], which can optionally be bound to a user-defined context via an ExecutorT [SWS_CM_01076]. Handler registration can be deregistered via UnsetServiceStateChangeHandler() [SWS_CM_01075].

Destruction takes place via the destructor ~<SI>Proxy() [SWS_CM_99444]. This is declared as not exception-safe and requires as a mandatory precondition that no open data samples are held by the client prior to destruction in order to avoid violations [SWS_CM_99444].

Usage Path

The typical usage path is divided into four phases:

  1. Service discovery: The client searches for instances of the service either synchronously via FindService() with an InstanceIdentifier [SWS_CM_00122] or a model-based InstanceSpecifier [SWS_CM_00622] EXP ARAComAPI §2 “Service Interface Proxy”, or asynchronously via StartFindService() [SWS_CM_00123] [SWS_CM_00623]. For asynchronous searches, a ExecutorT can additionally be passed [SWS_CM_11352] [SWS_CM_11365] EXP ARAComAPI §2 “Service Interface Proxy”. Asynchronous searches must be stopped via StopFindService() after finding the desired instance [SWS_CM_00125] EXP ARAComAPI §2 “Service Interface Proxy”.
  2. Instantiation: A handle is selected from the determined ServiceHandleContainer and passed to Create() to create the proxy instance [SWS_CM_10438]. Interpretation: The factory method Create() is likely the primary instantiation path compared to the throwing constructor. Question Q-cf53ee7076736baf (open)
  3. Interaction: The application interacts with the service via method calls (methods::<Method>) [SWS_CM_99447], event monitoring (events::<Event>) [SWS_CM_99445], or field access (fields::<Field>) [SWS_CM_99446].
  4. Cleanup: After completion of interactions, the proxy instance is destroyed, whereby it must be ensured that no invalid sample references remain [SWS_CM_99444].
Sequence of service discovery and proxy interactionClient<SI>ProxyCommunicationManagementUse Case: 1. DienstsucheFindService(instance)Dienstinstanzen ermittelnServiceHandleContainerResult<ServiceHandleContainer>Use Case: 2. InstanziierungCreate(handle)Result<<SI>Proxy>Use Case: 3. Dienstnutzungmethods::<Method>()Transmit method callAntwortdatenReturn valueUse Case: 4. Destruction~<SI>Proxy()

Sequence diagram: Typical sequence of service discovery, proxy instantiation, and method interaction. Sources: [SWS_CM_00122], [SWS_CM_10438], [SWS_CM_99447], [SWS_CM_99444].

Error Scenarios

Errors are primarily returned via the error type ara::com::ComErrc in the ara::core::Result:

In addition, the following violations are specified:

  • ErroneousServiceHandleViolation: The handle passed to Create() or the constructor is invalid or corrupt [SWS_CM_10438] [SWS_CM_00131].
  • InsufficientPermissionsViolation: Denial of access during service discovery or instantiation due to grant enforcement [SWS_CM_00122] [SWS_CM_10438].
  • InvalidHandlerViolation: Passing an invalid or empty callback to StartFindService() [SWS_CM_00123] or SetServiceStateChangeHandler() [SWS_CM_01074].
  • InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation, InstanceSpecifierAlreadyInUseViolation: Occur during model-based search calls if the mapping of the InstanceSpecifier is incorrect or already in use [SWS_CM_00622] [SWS_CM_00623].
  • DanglingSamplesViolation: Destruction of the proxy while references to data samples still exist [SWS_CM_99444].

This guide is based on the AUTOSAR specifications for Adaptive Platform release R25-11 and summarizes the communication mechanisms of the Service Interface proxy.

Member map

Class diagram

Hohle Dreieckspfeile = Vererbung (zeigt zur Basisklasse); Klicken öffnet die jeweilige Klassenseite.

G n_SI_Namespace___proxy___SI_Proxy329 <SI>Proxy + <Event> + <Field> + <Method> + operator=() + Proxy() + Create() + FindService() + GetHandle() + GetServiceState() + SetServiceStateChangeHandler() + Service() + StartFindService() + StopFindService() + UnsetServiceStateChangeHandler()

Detail view

Select an entry in the outline.

Methods

Create function

Exception-less construction of a Proxy from a HandleType using the Named Constructor idiom.

static ara::core::Result< <SI>Proxy > Create (const <SI-Namespace>::proxy:: <SI>Proxy::HandleType &handle) noexcept;
FindService function 2

Find a service using an ara::com::InstanceIdentifier, with immediately returned request

Overloads FindService 2
GetHandle function

Return the handle used to create the proxy instance

HandleType GetHandle () const noexcept;

Returns the state of the service

ara::core::Result< ara::com::ServiceState > GetServiceState () noexcept;
Proxy function 4

Construction of the service proxy from the found handles (from any of the FindService()/ StartFindService() methods)

Overloads Proxy 4
explicit <SI>Proxy (const HandleType &handle); SWS_CM_00131
<SI>Proxy (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete; SWS_CM_00136
<SI>Proxy ( <SI-Namespace>::proxy:: <SI>Proxy &&other); SWS_CM_00137
Service function 2

Find a service using an ara::com::InstanceIdentifier, with handler registration

Overloads Service 2
static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance) noexcept; SWS_CM_00123
static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance) noexcept; SWS_CM_00623

Register a service state change handler. This handler shall be called by the Communication Management implementation as soon as the service availability state has changed. The Handler may be overwritten during runtime.

Overloads SetServiceStateChangeHandler 2
void SetServiceStateChangeHandler (ara::com::ServiceStateHandler handler) noexcept; SWS_CM_01074
template <typename ExecutorT> void SetServiceStateChangeHandler (ara::com::ServiceStateHandler handler, ExecutorT &&executor) noexcept; SWS_CM_01076
StartFindService function 2

Find a service using an ara::com::InstanceIdentifier, with handler registration, - in a provided execution context

Overloads StartFindService 2
template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance, ExecutorT &&executor) noexcept; SWS_CM_11352
template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance, ExecutorT &&executor) noexcept; SWS_CM_11365

Stop an ongoing StartFindService() - Stops receiving further notifications for the provided ara::com::FindServiceHandle

void StopFindService (ara::com::FindServiceHandle handle) noexcept;

As per [SWS_CM_01074]

void UnsetServiceStateChangeHandler () noexcept;

Operators

operator= function 2

Copy assignment constructor deletion

Overloads = 2
<SI>Proxy & operator= (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete; SWS_CM_11551
<SI-Namespace>::proxy:: <SI>Proxy & operator= ( <SI-Namespace>::proxy:: <SI>Proxy &&other) noexcept; SWS_CM_11552

Constants

<Event> variable

Event member, one for each VariableDataPrototype defined in the ServiceInterface in the role event.

events::<Event> <Event>;
<Field> variable

Field member, one for each Field defined in the ServiceInterface in the role field.

fields::<Field> <Field>;
<Method> variable

Method member, one for each ClientServerOperation defined in the ServiceInterface in the role method.

methods::<Method> <Method>;

Embedded types

Method documentation

function Create [SWS_CM_10438] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00121, RS_AP_00127, RS_AP_00128, RS_AP_00139

static ara::core::Result< <SI>Proxy > Create (const <SI-Namespace>::proxy:: <SI>Proxy::HandleType &handle) noexcept;

Exception-less construction of a Proxy from a HandleType using the Named Constructor idiom.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 7ecc1087a58a Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Semantics

The static factory method Create serves according to [SWS_CM_10438] for the exception-free creation of a proxy instance (<SI>Proxy) following the named constructor idiom. As parameter handle, it requires a previously determined service handle according to [SWS_CM_00131]. The call is synchronous and declared as noexcept. The result is returned in a ara::core::Result, which contains the operational proxy instance in case of success.

Error handling

If an error occurs during instantiation, Create returns an error code of type ara::com::ComErrc via ara::core::Result [SWS_CM_10438]:

  • ComErrc::kServiceNotAvailable: The service is no longer available after previously being offered via OfferService().
  • ComErrc::kCommunicationFailure: The network binding reports a recoverable communication error or the failure of a secured connection.

Both errors exhibit rollback semantics [SWS_CM_10438]. For structural or security-related errors, specified violations take effect: If the passed handle is null or corrupted, a ErroneousServiceHandleViolation is present. If the calling process lacks the necessary permissions for the instance under grant enforcement, the request is rejected and treated as InsufficientPermissionsViolation (SWS CommunicationManagement §8 “Security”, [SWS_CM_10438]).

Concurrency and Constraints

Interpretation: Since Create operates synchronously and binds communication resources, the call is likely reentrant for different handles, but should not be executed in time-critical hard real-time loops due to possible network initializations. Question Q-f7ba23670f562788 (open)

This text was generated by an AI system based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)ErroneousService- Provided HandleType is null or corrupt HandleViolation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
handleAs per [SWS_CM_00131]

Rückgabewert

TypBeschreibung
ara::core::Result< {<service-interface-name> }Proxy >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a Proxy • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kServiceNotAvailablerollback_semantics Service is not available after being previously offered via Offer Service()
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_10438
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10438@rel:R25-11#b417ae7a
Content hash
b417ae7a
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10438
Status: valid/unmigrated Version: rel:R25-11#cfeddea9 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_10438@rel:R25-11#cfeddea9
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#b417ae7a2026-09-30
  • R19-11rel:R19-11#7e4e18b92026-10-14
  • R20-11rel:R20-11#f1232f7e2026-10-14
  • R21-11rel:R21-11#f1232f7e2026-10-14
  • R22-11rel:R22-11#38bf837e2026-10-14
  • R23-11rel:R23-11#38bf837e2026-10-14
  • R24-11rel:R24-11#08265d1c2026-10-14
  • R25-11rel:R25-11#cfeddea92026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function FindService [SWS_CM_00122] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

static ara::core::Result< ara::com::ServiceHandleContainer< HandleType > > FindService (ara::com::InstanceIdentifier instance) noexcept;

Find a service using an ara::com::InstanceIdentifier, with immediately returned request

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 1c6c926e4b24 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The static method FindService of the proxy class serves to synchronously find available service instances based on an ara::com::InstanceIdentifier ([SWS_CM_00122]). The call returns the result immediately as ara::core::Result, which upon successful execution contains an ara::com::ServiceHandleContainer ([SWS_CM_00122]). Depending on the current offering state, this container—typically implemented as ara::core::Vector ([SWS_CM_00304])—can be empty, contain a single instance handle, or comprise multiple handles (ARAComAPI §6.5 “Service Discovery”).

In case of an error, the ara::core::Result returns an error code from ara::com::ComErrc, namely ComErrc::kCommunicationFailure, if the network binding reports a recoverable transmission error or a problem with secure communication ([SWS_CM_00122]). In addition, access is subject to permission checks; insufficient permissions result in a InsufficientPermissionsViolation ([SWS_CM_00122]).

Regarding the sequence and concurrency, the following conditions apply:

  • Call context and synchronicity: Since the search is executed immediately, only those instances are found for which OfferService() was previously called on the server side (ARAComAPI §6.5 “Service Discovery”).
  • Exception safety and reentrancy: The function is specified as noexcept and is exception-safe ([SWS_CM_00122]). Since the method is static and requires no mutable object state, it is likely reentrant and callable in a thread-safe manner. Question Q-3228cc998c4a737e (open)
  • Further processing: Found handles serve to instantiate proxy objects via constructor Proxy(const HandleType &handle) ([SWS_CM_00131]). Alternatively, the overload with ara::core::InstanceSpecifier is available for a model-based search ([SWS_CM_00622]).

This usage note was generated by an AI based on the AUTOSAR R25-11 specification.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
instanceara::com::InstanceIdentifier qualifying the wanted instance of the service

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::ServiceHandleContainer< {<hierarchical-namespace-list-lower-proxy> }::proxy::{<service-interface-name> }Proxy::HandleType > >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a ara::com:: ServiceHandleContainer further containing HandleTypes for all matching services • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00122
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00122@rel:R25-11#bcc92a85
Content hash
bcc92a85
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00122
Status: valid/unmigrated Version: rel:R25-11#6f2101ad Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00122@rel:R25-11#6f2101ad
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#bcc92a852026-09-30
  • R19-11rel:R19-11#088b9ecc2026-10-14
  • R20-11rel:R20-11#d4d640972026-10-14
  • R21-11rel:R21-11#746c23552026-10-14
  • R22-11rel:R22-11#2b7e51e42026-10-14
  • R23-11rel:R23-11#2b7e51e42026-10-14
  • R24-11rel:R24-11#12aa77e32026-10-14
  • R25-11rel:R25-11#6f2101ad2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function FindService [SWS_CM_00622] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00121, RS_AP_00127, RS_AP_00137

static ara::core::Result< ara::com::ServiceHandleContainer< HandleType > > FindService (ara::core::InstanceSpecifier instance) noexcept;

Find a service using an ara::core::InstanceSpecifier, with immediately returned request

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 4b1386a8f38a Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

According to [SWS_CM_00622], the static function FindService of the proxy class serves for synchronously finding available service instances based on an ara::core::InstanceSpecifier with immediate return (\"immediately returned request\"). A prerequisite for discovery is that the respective service skeleton instance was previously provided via OfferService() (ARAComAPI p. 103 “Figure 6.5: Service Discovery”).

Return Values and Interaction

As a result, the call returns a ara::core::Result with a ara::com::ServiceHandleContainer according to [SWS_CM_00622], which is based on ara::core::Vector by default [SWS_CM_00304]. This container can be empty, contain a single handle, or contain multiple found instances (ARAComAPI p. 103 “Figure 6.5: Service Discovery”). The determined service handles are subsequently passed to the constructor to instantiate the proxy object [SWS_CM_00131]. For an event-driven, asynchronous search with notification, StartFindService is alternatively available [SWS_CM_00623], whereas for instance specifiers the overload from [SWS_CM_00122] is used.

Error Handling and Boundary Conditions

The function is declared as noexcept and considered exception-safe (\"exception safe\") according to [SWS_CM_00622]. In the event of an error, the Result object contains the error code ComErrc::kCommunicationFailure, such as in the case of communication disruptions of the network binding [SWS_CM_00622]. In addition, [SWS_CM_00622] defines model and permission violations such as InstanceSpecifierMappingIntegrityViolation, PortInterfaceMappingViolation, ProcessMappingViolation, InstanceSpecifierAlreadyInUseViolation, and InsufficientPermissionsViolation.

Interpretation: Because of the synchronous and immediate return, the method is likely suitable primarily for initial initialization phases or targeted polling, provided that continuous observation via callback is not required. Question Q-ea5b242a6fe41d20 (open)

This usage note was generated by an AI based on specification data from AUTOSAR Adaptive R25-11.

Implementer's Guide to follow (complexity I3)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of the executable, or it refers to a model element other than tegrityViolation a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: ServiceInterface referenced by a ServiceInstanceToPortPrototypeMapping. ProcessMappingVio- The type of mapping does not match the expected type of Port lation Interface InstanceSpecifier- The constructor was called with an Instance Specifier already AlreadyInUseViola- tion InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
instanceara::core::InstanceSpecifier qualifying the wanted instance of the service

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::ServiceHandleContainer< {<hierarchical-namespace-list-lower-proxy>}::proxy::{<service-interface-name> }Proxy::HandleType > >As per [SWS_CM_00122]

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00622
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00622@rel:R25-11#06c9698f
Content hash
06c9698f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00622
Status: valid/unmigrated Version: rel:R25-11#b658bb0b Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00622@rel:R25-11#b658bb0b
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#06c9698f2026-09-30
  • R19-11rel:R19-11#9aca721e2026-10-14
  • R20-11rel:R20-11#a72540782026-10-14
  • R21-11rel:R21-11#ddb1520c2026-10-14
  • R22-11rel:R22-11#93fa43952026-10-14
  • R23-11rel:R23-11#72729ae82026-10-14
  • R24-11rel:R24-11#d99b30fa2026-10-14
  • R25-11rel:R25-11#b658bb0b2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function GetHandle [SWS_CM_10383] Upstream: RS_CM_00107, RS_AP_00114, RS_AP_00119

HandleType GetHandle () const noexcept;

Return the handle used to create the proxy instance

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
<SI-Namespace>::proxy::<SI>Proxy::HandleTypeAs per [SWS_CM_00312]

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_10383
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_10383@rel:R25-11#ec2e1e0d
Content hash
ec2e1e0d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_10383
Status: valid/unmigrated Version: rel:R25-11#281a2b71 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_10383@rel:R25-11#281a2b71
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#ec2e1e0d2026-09-30
  • R19-11rel:R19-11#b30af83b2026-10-14
  • R20-11rel:R20-11#b30af83b2026-10-14
  • R21-11rel:R21-11#b30af83b2026-10-14
  • R22-11rel:R22-11#b30af83b2026-10-14
  • R23-11rel:R23-11#b30af83b2026-10-14
  • R24-11rel:R24-11#ded2435a2026-10-14
  • R25-11rel:R25-11#281a2b712026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function GetServiceState [SWS_CM_01073]

ara::core::Result< ara::com::ServiceState > GetServiceState () noexcept;

Returns the state of the service

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::ServiceState >• If successful: an ara::core::Result containing a ara:: core::Result::value_type i.e. a ara::com:: ServiceState giving the service state • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_01073
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01073@rel:R25-11#3f41673b
Content hash
3f41673b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01073
Status: valid/unmigrated Version: rel:R25-11#6c74cf42 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_01073@rel:R25-11#6c74cf42
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#3f41673b2026-09-30
  • R22-11rel:R22-11#dd9d89292026-10-14
  • R23-11rel:R23-11#ba4457f52026-10-14
  • R24-11rel:R24-11#3f9e72502026-10-14
  • R25-11rel:R25-11#6c74cf422026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Proxy [SWS_CM_00131] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00121

explicit <SI>Proxy (const HandleType &handle);

Construction of the service proxy from the found handles (from any of the FindService()/ StartFindService() methods)

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 664b77b81789 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

use

The explicit constructor <SI>Proxy instantiates the type-specific service proxy class in namespace <SI-Namespace>::proxy [SWS_CM_00131]. Within the proxy-skeleton pattern, this generated object serves on the service consumer side as a local facade that forwards method calls to the actual service implementation ARAComAPI Figure 5.1 “Proxy Skeleton Pattern”.

For construction, a reference to a valid HandleType is passed as a parameter [SWS_CM_00131]. This identifier must previously have been obtained via Service Discovery mechanisms — either synchronously via FindService() [SWS_CM_00122] or asynchronously via the registered callback of StartFindService() [SWS_CM_00123].

Error handling

Construction is not exception safe (not exception safe) [SWS_CM_00131]. If the referenced service cannot be reached, a ara::com::ComException is raised according to ara::com::ComErrc::kServiceNotAvailable [SWS_CM_00131]. Furthermore, the following violations are defined:

  • ErroneousServiceHandleViolation: Occurs if the passed HandleType object is null or corrupted [SWS_CM_00131].
  • InsufficientPermissionsViolation: Occurs if creation is denied by grant enforcement (Grant Enforcement) [SWS_CM_00131].

Constraints and Lifecycle

For the proxy class, the copy constructor is explicitly deleted (=delete) [SWS_CM_00136]. Passing the instance is permitted exclusively via the move constructor, which is also specified as not exception safe [SWS_CM_00137]. At runtime, following successful creation, communication management automatically updates the transport layer addressing of the existing proxy instance in the background in the event of temporary failure and re-availability of the target service ARAComAPI Figure 6.1 “Auto Updating of Proxy Instance”.

This usage note was generated automatically based on the AUTOSAR specification R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitnot exception safe
Verletzungen (Violations)ErroneousService- Provided HandleType is null or corrupt HandleViolation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
handleA found FindServiceHandle returned by any of the FindService() methods: • [SWS_CM_00122] • [SWS_CM_00622] or a FindServiceHandle found and sent to the assigned FindServiceHandler callback, by any of the StartFindService() methods: • [SWS_CM_00123] • [SWS_CM_00623] • [SWS_CM_11352] • [SWS_CM_11365]

Exceptions

ara::com:: As per ara::com::ComErrc::kServiceNotAvailable ComException

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00131
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00131@rel:R25-11#1a632199
Content hash
1a632199
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00131
Status: valid/unmigrated Version: rel:R25-11#ee74be81 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00131@rel:R25-11#ee74be81
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#1a6321992026-09-30
  • R19-11rel:R19-11#592e8f7d2026-10-14
  • R20-11rel:R20-11#592e8f7d2026-10-14
  • R21-11rel:R21-11#592e8f7d2026-10-14
  • R22-11rel:R22-11#592e8f7d2026-10-14
  • R23-11rel:R23-11#592e8f7d2026-10-14
  • R24-11rel:R24-11#0ab8e3252026-10-14
  • R25-11rel:R25-11#ee74be812026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Proxy [SWS_CM_00136] Upstream: RS_CM_00102, RS_AP_00114

<SI>Proxy (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete;

Copy Constructor deletion

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00136
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00136@rel:R25-11#72db3c3c
Content hash
72db3c3c
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00136
Status: valid/unmigrated Version: rel:R25-11#95fda097 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00136@rel:R25-11#95fda097
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#72db3c3c2026-09-30
  • R19-11rel:R19-11#f2cf188a2026-10-14
  • R20-11rel:R20-11#aeb5fe302026-10-14
  • R21-11rel:R21-11#f2cf188a2026-10-14
  • R22-11rel:R22-11#f2cf188a2026-10-14
  • R23-11rel:R23-11#f2cf188a2026-10-14
  • R24-11rel:R24-11#a2c02d102026-10-14
  • R25-11rel:R25-11#95fda0972026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Proxy [SWS_CM_00137] Upstream: RS_CM_00102, RS_AP_00114

<SI>Proxy ( <SI-Namespace>::proxy:: <SI>Proxy &&other);

Move constructor

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitnot exception safe

Parameter (in)

ParameterBeschreibung
otherOther object to move

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00137
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00137@rel:R25-11#8fb3b836
Content hash
8fb3b836
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00137
Status: valid/unmigrated Version: rel:R25-11#a6236489 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00137@rel:R25-11#a6236489
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#8fb3b8362026-09-30
  • R19-11rel:R19-11#820da2b22026-10-14
  • R20-11rel:R20-11#820da2b22026-10-14
  • R21-11rel:R21-11#820da2b22026-10-14
  • R22-11rel:R22-11#820da2b22026-10-14
  • R23-11rel:R23-11#820da2b22026-10-14
  • R24-11rel:R24-11#466610572026-10-14
  • R25-11rel:R25-11#a62364892026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Proxy [SWS_CM_99444] Upstream: RS_CM_00102, RS_AP_00114

~<SI>Proxy ();

Destruction of a Proxy

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: c536b9aecd57 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The destructor ~<SI>Proxy () terminates the lifecycle of a service proxy instance and releases the associated local resources [SWS_CM_99444]. A service proxy serves on the consumer side as a local facade for interacting with a potentially remote service implementation and forwards calls ARAComAPI §5.1 “Proxy Skeleton Pattern”. The proxy object is previously instantiated via a resolved service handle [SWS_CM_00131], which was provided via service discovery functions such as FindService [SWS_CM_00122].

The following specifications and boundary conditions apply to the destruction and runtime behavior:

  • Lifecycle and semantics: Destruction occurs synchronously upon leaving the scope or upon explicit deletion of the instance. While the copy constructor of the proxy class is deleted [SWS_CM_00136], the object can be moved via move semantics prior to its destruction [SWS_CM_00137].
  • Exception safety: The destructor is specified as not exception safe [SWS_CM_99444].
  • Preconditions and error behavior: If precondition [SWS_CM_00087] is violated, this results in a DanglingSamplesViolation [SWS_CM_99444]. (Interpretation: Prior to calling the destructor, all sample references or data pointers held by the consumer presumably have to be released in order to prevent invalid references.) Question Q-5488797b732d9be6 (open)
  • Interaction: If asynchronous service searches are used, they should be terminated via StopFindService before releasing the usage context if necessary [SWS_CM_00125]. In addition, error handling handlers registered for events, triggers, and fields can be reset in advance [SWS_CM_00105] [SWS_CM_00108] [SWS_CM_00126].

This usage note was generated automatically based on the specification data.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitnot exception safe
Verletzungen (Violations)DanglingSamplesVi- Precondition [SWS_CM_00087] has been violated. olation

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_99444
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99444@rel:R25-11#83fb2558
Content hash
83fb2558
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99444
Status: valid/unmigrated Version: rel:R25-11#75a7089c Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_99444@rel:R25-11#75a7089c
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#83fb25582026-09-30
  • R24-11rel:R24-11#9caace202026-10-14
  • R25-11rel:R25-11#75a7089c2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Service [SWS_CM_00123] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance) noexcept;

Find a service using an ara::com::InstanceIdentifier, with handler registration

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 0c76c8d95c3b Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The static method StartFindService [SWS_CM_00123] of the proxy class starts the asynchronous search for service instances based on an ara::com::InstanceIdentifier with registration of a callback handler (ARAComAPI §6.5 “Service Discovery”). A ara::com::FindServiceHandler and the sought ara::com::InstanceIdentifier are passed to the call [SWS_CM_00123].

In case of success, the function returns a ara::core::Result with a ara::com::FindServiceHandle [SWS_CM_00123]. This identifier represents the active search request and is mandatory in order to terminate the monitoring of service availability and subsequent handler invocations later using StopFindService [SWS_CM_00125].

If a communication problem occurs during connection establishment, the method returns the error code ComErrc::kCommunicationFailure in the ara::core::Result [SWS_CM_00123]. If the passed callable instance is invalid or null, this is treated as InvalidHandlerViolation; missing access permissions result in a InsufficientPermissionsViolation [SWS_CM_00123].

As soon as a matching service instance becomes available in the system, communication management calls the registered handler with the corresponding service handles [SWS_CM_00123]. Based on a reported HandleType, the application can create a concrete proxy instance via the named constructor method Create [SWS_CM_10438]. Interpretation: The handler is presumably executed asynchronously in a thread of communication management, which is why access to shared resources in the handler should be thread-safe. Question Q-9dc570d7e65fc808 (open) For searching via a model-based identifier, StartFindService with InstanceSpecifier is alternatively available [SWS_CM_00623].

This usage note is based on the provisions of the AUTOSAR Adaptive specification and has been editorially verified.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
handlerA ara::com::FindServiceHandler for the corresponding ServiceProxy class, which gets called any time a AdaptivePlatformServiceInstance matching the given instance criteria is found.
instanceAs per [SWS_CM_00122]

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::FindServiceHandle >• If successful: an ara::core::Result containing a ara:: core::Result::value_type containing a ara::com:: FindServiceHandle for this search/find request which is needed to stop the service availability monitoring and related firing of the given handler. • If unsuccessful: an ara::core::Result containing an ara:: core::Result::error_type i.e. a corresponding ara:: com::ComErrc

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00123
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00123@rel:R25-11#28857095
Content hash
28857095
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00123
Status: valid/unmigrated Version: rel:R25-11#5fed703f Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00123@rel:R25-11#5fed703f
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#288570952026-09-30
  • R19-11rel:R19-11#8b0f8dc42026-10-14
  • R20-11rel:R20-11#2e9f704d2026-10-14
  • R21-11rel:R21-11#f14ee6512026-10-14
  • R22-11rel:R22-11#c12cd1af2026-10-14
  • R23-11rel:R23-11#a53126272026-10-14
  • R24-11rel:R24-11#cef155e52026-10-14
  • R25-11rel:R25-11#5fed703f2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function Service [SWS_CM_00623] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00121, RS_AP_00127, RS_AP_00137

static ara::core::Result< ara::com::FindServiceHandle > StartFind Service (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance) noexcept;

Find a service using an ara::core::InstanceSpecifier, with handler registration

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 40cd4cda442b Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The static method StartFindService of the proxy class starts the continuous search for service instances based on a modeled ara::core::InstanceSpecifier [SWS_CM_00623]. Upon call, the InstanceSpecifier as well as a callback function of type ara::com::FindServiceHandler are passed [SWS_CM_00623]. As return value, the function returns a ara::core::Result<ara::com::FindServiceHandle> [SWS_CM_00623], which provides a search handle for managing the search upon successful registration.

Error handling is performed via the returned ara::core::Result. If a recoverable communication error or an error of secure communication occurs in the network binding, the result contains the error code ComErrc::kCommunicationFailure [SWS_CM_00623]. In addition, specific violations are specified: InvalidHandlerViolation if the passed handler is invalid or null, InsufficientPermissionsViolation in case of missing permissions due to grant enforcement, as well as modeling violations such as InstanceSpecifierMappingIntegrityViolation or PortInterfaceMappingViolation [SWS_CM_00623].

Regarding concurrency and boundary conditions, the function is declared as noexcept and specified as exception-safe [SWS_CM_00623]. The execution of the registered handler is presumably expected to occur asynchronously by Communication Management as soon as matching service instances are detected in the system. Question Q-79fb3ff78d517714 (open)

In interaction with related interfaces, the following points apply:

  • The returned ara::com::FindServiceHandle must be kept in order to stop the ongoing search via StopFindService [SWS_CM_00125] and prevent the receipt of further notifications.
  • The handles (HandleType) provided via the callback typically serve to instantiate the proxy object via the factory method Create [SWS_CM_10438].
  • As an alternative to searching via an InstanceSpecifier, a search can also be initiated with an ara::com::InstanceIdentifier [SWS_CM_00123].

This text was created by an AI and is based on the specification status of AUTOSAR R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of the executable, or it refers to a model element other than tegrityViolation a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: ServiceInterface referenced by a ServiceInstanceToPortPrototypeMapping. ProcessMappingVio- The type of mapping does not match the expected type of Port lation Interface InstanceSpecifier- The constructor was called with an Instance Specifier already AlreadyInUseViola- tion InvalidHandlerVio- Provided Callable handler does not exist or is null lation InsufficientPer- Refused by Grant Enforcement missionsViolation

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00123]
instanceAs per [SWS_CM_00622]

Rückgabewert

TypBeschreibung
ara::core::Result<ara::com::FindServiceHandle >As per [SWS_CM_00123]

Fehler

FehlercodeBeschreibung
ComErrc::kCommunicationFailurerollback_semantics The network binding reported a recoverable communications error or a secure communication failure

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00623
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00623@rel:R25-11#71acdb2b
Content hash
71acdb2b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00623
Status: valid/unmigrated Version: rel:R25-11#53a828a4 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00623@rel:R25-11#53a828a4
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#71acdb2b2026-09-30
  • R19-11rel:R19-11#74bab8b92026-10-14
  • R20-11rel:R20-11#d103521b2026-10-14
  • R21-11rel:R21-11#cf6bd2292026-10-14
  • R22-11rel:R22-11#e4c0996e2026-10-14
  • R23-11rel:R23-11#4ffba6b82026-10-14
  • R24-11rel:R24-11#810427ab2026-10-14
  • R25-11rel:R25-11#53a828a42026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function SetServiceStateChangeHandler [SWS_CM_01074]

void SetServiceStateChangeHandler (ara::com::ServiceStateHandler handler) noexcept;

Register a service state change handler. This handler shall be called by the Communication Management implementation as soon as the service availability state has changed. The Handler may be overwritten during runtime.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 186ab9eb37c5 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The method SetServiceStateChangeHandler is used on a proxy instance to register a callback function for monitoring availability changes of the respective service ([SWS_CM_01074], SWS CommunicationManagement §8.3.8.2.4.6 “SetServiceStateChangeHandler(ara::com::ServiceStateHandler)”). Communication Management calls this handler as soon as the service availability state (ServiceState) changes ([SWS_CM_01074]).

A function object of type ara::com::ServiceStateHandler specified as std::function<void(ServiceState)> is passed as a parameter ([SWS_CM_01072]). The function has no return value. An already registered handler may be overwritten at runtime by calling again ([SWS_CM_01074]).

Regarding error handling, the function is declared exception-safe (noexcept) ([SWS_CM_01074]). If the passed callable does not exist or is null, the violation InvalidHandlerViolation is present ([SWS_CM_01074]).

Regarding the execution environment, [SWS_CM_01074] represents the base interface. Since no executor can be passed here, the callback is likely executed in the internal thread context of Communication Management. Question Q-7833435e7aa1da9f (open) If execution in a specific application context is required, the overloaded template variant with a executor according to [SWS_CM_01076] is available as an alternative (SWS CommunicationManagement §8.3.8.2.4.5 “SetServiceStateChangeHandler(ara::com::ServiceStateHandler, ExecutorT&&)”).

This text was generated by an AI. It does not replace reviewing the underlying AUTOSAR specifications.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Parameter (in)

ParameterBeschreibung
handlerThe callback for service state change handler

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_01074
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01074@rel:R25-11#1277a2d0
Content hash
1277a2d0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01074
Status: valid/unmigrated Version: rel:R25-11#a6d97b14 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_01074@rel:R25-11#a6d97b14
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#1277a2d02026-09-30
  • R22-11rel:R22-11#91401b222026-10-14
  • R23-11rel:R23-11#fec38b202026-10-14
  • R24-11rel:R24-11#12032ba22026-10-14
  • R25-11rel:R25-11#a6d97b142026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function SetServiceStateChangeHandler [SWS_CM_01076]

template <typename ExecutorT> void SetServiceStateChangeHandler (ara::com::ServiceStateHandler handler, ExecutorT &&executor) noexcept;

As per [SWS_CM_01074] but the method shall execute in a provided context.

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 7e2d99ac7d24 Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Usage and Call Context

The template method SetServiceStateChangeHandler serves to register a callback on the generated proxy class <SI-Namespace>::proxy::<SI>Proxy for monitoring service availability [SWS_CM_01076]. The function takes two parameters AUTOSAR_AP_SWS_CommunicationManagement §8.3.8.2.4.5 “SetServiceStateChangeHandler(ara::com::ServiceStateHandler, ExecutorT&&)”:

  • handler: A functor of type ara::com::ServiceStateHandler (defined as std::function<void(ServiceState)>) that is called on every change of the availability status [SWS_CM_01072], [SWS_CM_01074].
  • executor: An execution context of template type ExecutorT according to [SWS_CM_11360], in which the registered handler is executed [SWS_CM_01076].

The function has no return value (void) [SWS_CM_01076].

Error Handling and Exception Safety

The function is declared as noexcept and specified as exception safe [SWS_CM_01076]. If the passed callable handler does not exist or is null, a InvalidHandlerViolation is triggered [SWS_CM_01076].

Concurrency and Limitations

A registered handler can be overwritten at runtime [SWS_CM_01074]. Because execution takes place via the passed executor object [SWS_CM_01076], the notification is presumably processed asynchronously in the thread or dispatch context provided by the user. Question Q-349c5224c3b9cc20 (open)

Interaction

The method extends the elementary variant [SWS_CM_01074] with the explicit specification of the execution context [SWS_CM_01076]. Header <SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h is required for inclusion, whereas the handler type originates from ara/com/types.h [SWS_CM_01072].

This usage note was generated automatically based on the specification AUTOSAR AP Release R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_01074]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_01076
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01076@rel:R25-11#364c6b73
Content hash
364c6b73
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01076
Status: valid/unmigrated Version: rel:R25-11#42c2fc88 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_01076@rel:R25-11#42c2fc88
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#364c6b732026-09-30
  • R23-11rel:R23-11#00e316b22026-10-14
  • R24-11rel:R24-11#bc0c225f2026-10-14
  • R25-11rel:R25-11#42c2fc882026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function StartFindService [SWS_CM_11352] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::com::InstanceIdentifier instance, ExecutorT &&executor) noexcept;

Find a service using an ara::com::InstanceIdentifier, with handler registration, - in a provided execution context

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 966a42ce08ac Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The static template method StartFindService starts the asynchronous background monitoring for finding instances of a service based on an ara::com::InstanceIdentifier ([SWS_CM_11352], EXP_ARAComAPI §5.3.3 “Proxy Class API’s”). In addition to the target instance (instance according to [SWS_CM_00122]), a callback function (handler according to [SWS_CM_00123]) and an execution context (executor of template type ExecutorT according to [SWS_CM_11360]) are registered ([SWS_CM_11352]). The callback notifications are likely processed in the thread or task context of the passed executor ([SWS_CM_11352]). Question Q-1db520123c1e49a4 (open)

As return value, the call delivers a ara::com::FindServiceHandle ([SWS_CM_11352]). This handle identifies the running search activity and is required to explicitly terminate the background activity later via [SWS_CM_00125] (StopFindService) (EXP_ARAComAPI §5.3.3 “Proxy Class API’s”). Service handles (HandleType) received via the registered callback subsequently serve to construct the associated proxy instances ([SWS_CM_00131]).

The function is declared as noexcept and specified as exception safe (exception safe) ([SWS_CM_11352]). The following runtime violations (Violations) are defined:

  • InvalidHandlerViolation: Occurs if the passed handler function is invalid or corresponds to null ([SWS_CM_11352]).
  • InsufficientPermissionsViolation: Occurs if access is denied by the authorization system (Grant Enforcement) ([SWS_CM_11352]).

If a service is instead to be searched via a model-based ara::core::InstanceSpecifier, the function variant [SWS_CM_11365] is alternatively available.

This text was created and curated by an AI. All details are based on AUTOSAR Adaptive R25-11.

Implementer's Guide to follow (complexity I3)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InvalidHandlerVio- Provided Callable handler does not exist or is null lation InsufficientPer- Refused by Grant Enforcement missionsViolation

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00123]
instanceAs per [SWS_CM_00122]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
ara::com::FindServiceHandleAs per [SWS_CM_00123]

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_11352
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11352@rel:R25-11#b506106e
Content hash
b506106e
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11352
Status: valid/unmigrated Version: rel:R25-11#a0653886 Versionshistorie & Revisions (1 transition, 7 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_11352@rel:R25-11#a0653886
Point-in-Time History:
Recorded Revisions (7):
  • R25-11rel:R25-11#b506106e2026-09-30
  • R20-11rel:R20-11#1e2172bd2026-10-14
  • R21-11rel:R21-11#3fa9f7922026-10-14
  • R22-11rel:R22-11#3fa9f7922026-10-14
  • R23-11rel:R23-11#72eaa22f2026-10-14
  • R24-11rel:R24-11#749e20a42026-10-14
  • R25-11rel:R25-11#a06538862026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function StartFindService [SWS_CM_11365] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00115, RS_AP_00119, RS_AP_00120, RS_AP_00121

template <typename ExecutorT> static ara::com::FindServiceHandle StartFindService (ara::com::FindServiceHandler< <SI-Namespace>::proxy:: <SI>Proxy::HandleType > handler, ara::core::InstanceSpecifier instance, ExecutorT &&executor) noexcept;

Find a service using an ara::core::InstanceSpecifier, with handler registration, in a provided context

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: cdf801d69b3d Provenance Open questions (1)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The static template function StartFindService starts the continuous, asynchronous search for service instances based on an ara::core::InstanceSpecifier while registering a notification handler in a passed execution context [SWS_CM_11365]. In contrast to synchronous one-time searches, it initiates a background activity to monitor service availability and returns a ara::com::FindServiceHandle EXP_ARAComAPI §5.3 “Proxy Class APIs”.

Parameters and execution

The function accepts three parameters [SWS_CM_11365]:

  • handler: Callback function of type ara::com::FindServiceHandler according to [SWS_CM_00123], which is called upon changes in instance availability.
  • instance: The ara::core::InstanceSpecifier to search for according to [SWS_CM_00123].
  • executor: An execution context of template type ExecutorT according to [SWS_CM_11360]. Interpretation: The template argument ExecutorT is likely to determine in which thread or task context the registered callback is executed. Question Q-6d46f67d536a391e (open)

Error Handling and Boundary Conditions

The signature is declared as noexcept and specified as exception safe [SWS_CM_11365]. From a specification standpoint, functional violations (Violations) are defined: InstanceSpecifierMappingIntegrityViolation (resolution in executable context failed or no PortPrototype), PortInterfaceMappingViolation and ProcessMappingViolation (mismatched PortInterface mappings), InstanceSpecifierAlreadyInUseViolation, InvalidHandlerViolation (invalid or non-existent handler), and InsufficientPermissionsViolation in case of missing access permission [SWS_CM_11365].

Interaction

The received FindServiceHandle serves to terminate the running background monitoring in a controlled manner by passing it to StopFindService [SWS_CM_00125]. The handles reported to the handler are used to instantiate concrete service proxies via Proxy(handle) [SWS_CM_00131]. For searches using ara::com::InstanceIdentifier, an alternative overload [SWS_CM_11352] exists.

This text was created by an AI; it does not replace studying the underlying AUTOSAR specification.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe
Verletzungen (Violations)InstanceSpeci- InstanceSpecifier either cannot be resolved in the model in the fierMappingIn- context of the executable, or it refers to a model element other than tegrityViolation a PortPrototype. PortInterfaceMap- The type of mapping does not match the expected type of Port pingViolation Interface: ServiceInterface referenced by a ServiceInstanceToPortPrototypeMapping. ProcessMappingVio- The type of mapping does not match the expected type of Port lation Interface InstanceSpecifier- The constructor was called with an Instance Specifier already AlreadyInUseViola- tion InvalidHandlerVio- Provided Callable handler does not exist or is null lation InsufficientPer- Refused by Grant Enforcement missionsViolation

Template-Parameter

ParameterBeschreibung
ExecutorTAs per [SWS_CM_11360]

Parameter (in)

ParameterBeschreibung
handlerAs per [SWS_CM_00123]
instanceAs per [SWS_CM_00123]
executorAs per [SWS_CM_11360]

Rückgabewert

TypBeschreibung
ara::com::FindServiceHandleAs per [SWS_CM_00123]

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_11365
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11365@rel:R25-11#c0c22af0
Content hash
c0c22af0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11365
Status: valid/unmigrated Version: rel:R25-11#53bcbb23 Versionshistorie & Revisions (1 transition, 4 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_11365@rel:R25-11#53bcbb23
Point-in-Time History:
Recorded Revisions (4):
  • R25-11rel:R25-11#c0c22af02026-09-30
  • R23-11rel:R23-11#ef07eadd2026-10-14
  • R24-11rel:R24-11#203448af2026-10-14
  • R25-11rel:R25-11#53bcbb232026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function StopFindService [SWS_CM_00125] Upstream: RS_CM_00102, RS_AP_00114, RS_AP_00120, RS_AP_00121

void StopFindService (ara::com::FindServiceHandle handle) noexcept;

Stop an ongoing StartFindService() - Stops receiving further notifications for the provided ara::com::FindServiceHandle

AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: 5a542928a936 Provenance
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The static function StopFindService of the proxy class terminates an asynchronous service search previously started with StartFindService and stops the receipt of further notifications for the passed handle [SWS_CM_00125]. The ongoing background activity for monitoring service availability by the technical binding is thus discontinued AP EXP ARAComAPI §5.3 “Proxy Class API’s”.

Usage and Semantics

This usage note was generated by an AI based on the specification documents for AUTOSAR Adaptive R25-11.

Implementer's Guide to follow (complexity I2)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
handleThe ara::com::FindServiceHandle returned by StartFind Service methods: • [SWS_CM_00123] • [SWS_CM_00623] • [SWS_CM_11352] • [SWS_CM_11365]

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_00125
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00125@rel:R25-11#a95890d1
Content hash
a95890d1
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00125
Status: valid/unmigrated Version: rel:R25-11#e35ad180 Versionshistorie & Revisions (1 transition, 8 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_00125@rel:R25-11#e35ad180
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#a95890d12026-09-30
  • R19-11rel:R19-11#ceab02e62026-10-14
  • R20-11rel:R20-11#ceab02e62026-10-14
  • R21-11rel:R21-11#ceab02e62026-10-14
  • R22-11rel:R22-11#ceab02e62026-10-14
  • R23-11rel:R23-11#ceab02e62026-10-14
  • R24-11rel:R24-11#d8b592732026-10-14
  • R25-11rel:R25-11#e35ad1802026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function UnsetServiceStateChangeHandler [SWS_CM_01075]

void UnsetServiceStateChangeHandler () noexcept;
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: bd7a765f57bb Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

The member function UnsetServiceStateChangeHandler is part of the generated proxy class in namespace <SI-Namespace>::proxy::<SI>Proxy according to [SWS_CM_01075] (AUTOSAR_AP_SWS_CommunicationManagement §8.3.8.2.4.12 “UnsetServiceStateChangeHandler”). It is included via header #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h".

With regard to usage, behavior, and concurrency, the following provisions apply:

  • Usage: The method has the signature void UnsetServiceStateChangeHandler() noexcept;. It takes no parameters and returns no value. Interpretation: According to the identifier and the reference to [SWS_CM_01074], the call serves to reset or unregister a previously registered callback handler for service state changes on the proxy instance. Question Q-6eb71298a6f37ad9 (open)
  • Error handling and exception safety: The operation is declared as noexcept and specified as exception safe ([SWS_CM_01075]). It throws no exceptions and reports no error codes back to the caller.
  • Interaction and constraints: The functional semantics reference the definition in [SWS_CM_01074]. Interpretation: The unregistration is likely to take effect synchronously, such that after the function call returns, no further state changes are delivered via the previous callback. Question Q-31348a50d9be537d (open)

This usage note was generated by an AI based on the AUTOSAR specification.

Implementer's Guide to follow (complexity I1)

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe

Rückgabewert

TypBeschreibung
None

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_01075
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_01075@rel:R25-11#acd5afba
Content hash
acd5afba
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_01075
Status: valid/unmigrated Version: rel:R25-11#9a8d00b1 Versionshistorie & Revisions (1 transition, 5 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_01075@rel:R25-11#9a8d00b1
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#acd5afba2026-09-30
  • R22-11rel:R22-11#266981b82026-10-14
  • R23-11rel:R23-11#7fa74f802026-10-14
  • R24-11rel:R24-11#0398d0122026-10-14
  • R25-11rel:R25-11#9a8d00b12026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator= [SWS_CM_11551] Upstream: RS_CM_00102, RS_AP_00114

<SI>Proxy & operator= (const <SI-Namespace>::proxy:: <SI>Proxy &other)=delete;

Copy assignment constructor deletion

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_11551
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11551@rel:R25-11#48b1d105
Content hash
48b1d105
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11551
Status: valid/unmigrated Version: rel:R25-11#d1bb516a Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_11551@rel:R25-11#d1bb516a
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#48b1d1052026-09-30
  • R24-11rel:R24-11#53d4fe222026-10-14
  • R25-11rel:R25-11#d1bb516a2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

function operator= [SWS_CM_11552] Upstream: RS_CM_00102, RS_AP_00114

<SI-Namespace>::proxy:: <SI>Proxy & operator= ( <SI-Namespace>::proxy:: <SI>Proxy &&other) noexcept;

Move assignment constructor

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Exception-Sicherheitexception safe

Parameter (in)

ParameterBeschreibung
otherOther object to move

Rückgabewert

TypBeschreibung
<SI-Namespace>::proxy::{<service-interface-name> }Proxy &The moved object

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_11552
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_11552@rel:R25-11#e1e91d57
Content hash
e1e91d57
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_11552
Status: valid/unmigrated Version: rel:R25-11#d00c3051 Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_11552@rel:R25-11#d00c3051
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#e1e91d572026-09-30
  • R24-11rel:R24-11#743e1f3d2026-10-14
  • R25-11rel:R25-11#d00c30512026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

Documentation of constants / variables

variable <Event> [SWS_CM_99445] Upstream: RS_CM_00201, RS_AP_00114

events::<Event> <Event>;

Event member, one for each VariableDataPrototype defined in the ServiceInterface in the role event.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Symbol<Event>
Typevents::<Event>

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_99445
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99445@rel:R25-11#af3ce7b8
Content hash
af3ce7b8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99445
Status: valid/unmigrated Version: rel:R25-11#9c64ddce Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_99445@rel:R25-11#9c64ddce
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#af3ce7b82026-09-30
  • R24-11rel:R24-11#fcd66cc52026-10-14
  • R25-11rel:R25-11#9c64ddce2026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable <Field> [SWS_CM_99446] Upstream: RS_CM_00216, RS_AP_00114

fields::<Field> <Field>;

Field member, one for each Field defined in the ServiceInterface in the role field.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Symbol<Field>
Typfields::<Field>

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_99446
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99446@rel:R25-11#44127f5b
Content hash
44127f5b
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99446
Status: valid/unmigrated Version: rel:R25-11#7b384735 Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_99446@rel:R25-11#7b384735
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#44127f5b2026-09-30
  • R24-11rel:R24-11#f92e65aa2026-10-14
  • R25-11rel:R25-11#7b3847352026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill

variable <Method> [SWS_CM_99447] Upstream: RS_CM_00212, RS_CM_00213, RS_AP_00114

methods::<Method> <Method>;

Method member, one for each ClientServerOperation defined in the ServiceInterface in the role method.

Header-Datei#include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h"
Scopeclass <SI-Namespace>::proxy::<SI>Proxy
Symbol<Method>
Typmethods::<Method>

Request a governed re-review of this record. The record is not changed immediately.

Record
AUTOSAR/AP/record/SWS_CM_99447
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_99447@rel:R25-11#1d379a32
Content hash
1d379a32
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_99447
Status: valid/unmigrated Version: rel:R25-11#798a90d2 Versionshistorie & Revisions (1 transition, 3 revision)
Current State
valid/unmigrated
Reason
mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record
Campaign
2026-08-13-status-backfill
Active Version
AUTOSAR/AP/record/SWS_CM_99447@rel:R25-11#798a90d2
Point-in-Time History:
Recorded Revisions (3):
  • R25-11rel:R25-11#1d379a322026-09-30
  • R24-11rel:R24-11#a0578b1e2026-10-14
  • R25-11rel:R25-11#798a90d22026-10-14 active
DateActorTransitionReason / RationaleCampaign
2026-08-13toolnone → valid/unmigratedmechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record2026-08-13-status-backfill