DEENESPTFRRUARHIKOZHNL

class <SI-Namespace>::proxy::methods::<FnFMethod>

[SWS_CM_99332] Upstream: RS_CM_00212, RS_CM_00213, RS_AP_00114

class <FnFMethod> {...};

Service proxy fire-and-forget method class, one for each ClientServerOperation ( ClientServerOperation.fireAndForget==TRUE) defined in the ServiceInterface in the role method.

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

User GuideAI-GENERATED

Enables the unacknowledged invocation of one-way service interface methods without a return value at client level.
AI-GENERATED unreviewed Model: gemini-3.8-flash-medium · Effort: medium · Temperature: not controllable · Prompt: c09dd8b0ab24 Provenance Open questions (2)
translated from the German guidegemini-3.8-flash-low · 2026-10-13 · German original

Enables the unacknowledged invocation of one-way service interface methods without a return value at client level.

The proxy class enables the client application to trigger unacknowledged method invocations for service operations with fire-and-forget semantics [SWS_CM_90435]. When calling the function operator, the input parameters are transmitted without creating a return value or a response future for a result. At the same time, end-to-end protection is executed with each method call, the current check status of which can be queried separately [SWS_CM_00147]. A call is exception-safe, but fails with an authorization violation in case of insufficient access rights.

Context

The class <SI-Namespace>::proxy::methods::<FnFMethod> represents a fire-and-forget method on the client or proxy side in the Communication Management of the AUTOSAR Adaptive Platform [SWS_CM_90435]. In a service-oriented architecture, exactly one such instance in the proxy role exists for each operation (ClientServerOperation) defined in the interface where ClientServerOperation.fireAndForget == TRUE is specified [SWS_CM_90435], SWS CommunicationManagement §8.3.4.1.2.1 “operator()”.

Its core responsibility lies in accepting invocation arguments and forwarding them to the transmission layer. Unlike synchronous or asynchronous bidirectional invocations that notify the caller via a ara::core::Future and transport any application errors [SWS_CM_00197], a fire-and-forget invocation requires neither a response nor an acknowledgement from the server side. The interaction partners include the calling client application, the method instance of the service proxy, and the downstream communication binding including E2E protection.

Client Client application FnFMethod proxy::methods::<FnFMethod> Client->FnFMethod operator() Client->FnFMethod GetE2EStateMachineState() Binding Kommunikations-Binding / E2E FnFMethod->Binding E2E_Check() & transmission

Context diagram: Components and interface relationships of the proxy fire-and-forget method class. Sources: [SWS_CM_90435], [SWS_CM_00147]

Lifecycle

The class is declared within the generated header file #include "<SiNamespaceDerivedDirectoryPath>/<SiShortname>_proxy.h" in the hierarchical scope <SI-Namespace>::proxy::methods::<FnFMethod> [SWS_CM_90435]. The lifetime of the method instance is likely tied to the lifetime of the enclosing service proxy object (interpretation: the method is created and destroyed as a sub-object together with the service proxy). Question Q-9ee6da68f325c3d0 (open)

Beyond the invocation itself, the class possesses an internal state regarding E2E protection (end-to-end protection). This E2E state is determined on each method invocation via the function E2E_Check() and can be queried via GetE2EStateMachineState(), which returns the status value of type ara::com::e2e::SMState [SWS_CM_00147], SWS CommunicationManagement §8.3.4.1.1.1 “GetE2EStateMachineState”. All member functions are declared as noexcept [SWS_CM_00147], [SWS_CM_90435]; external synchronization is likely required when invoked concurrently from multiple threads if the binding does not guarantee reentrancy. Question Q-e59aae09676d76c2 (open)

Usage Path

The typical procedure for using a fire-and-forget method comprises the following steps:

Sequence of a fire-and-forget method callClient applicationproxy::methods::<FnFMethod>Kommunikations-Binding / E2Eoperator()({in-args})E2E_Check() & send transmissionReturn (void)GetE2EStateMachineState()ara::com::e2e::SMState

Sequence diagram: Typical interaction sequence when invoking a fire-and-forget method followed by a status query. Sources: [SWS_CM_90435], [SWS_CM_00147]

Error Scenarios

Both operator() and GetE2EStateMachineState() are exception-safe and declared as noexcept [SWS_CM_00147], [SWS_CM_90435]. Therefore, no C++ exceptions are thrown.

In the case of missing access rights, grant enforcement takes effect: If the calling context lacks the necessary permissions, the invocation is denied and a InsufficientPermissionsViolation is registered [SWS_CM_90435].

Since no return is made via a ara::core::Future and fire-and-forget operations do not support the transmission of a ApApplicationError or ara::core::ErrorCode [SWS_CM_00197], transmission errors are not reported back to the caller. Any errors in data security or in the transmission channel manifest exclusively in the state of the E2E state machine, which can be diagnosed via GetE2EStateMachineState() [SWS_CM_00147].

This guide is based on the AUTOSAR Adaptive Platform Release R25-11 specification and describes the functionality of the proxy fire-and-forget method class.

UML class diagram

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

G n_SI_Namespace___proxy__methods___FnFMethod_122 <FnFMethod> + GetE2EStateMachineState() + operator()

Methods

Returns the state of the specific fnfmethod class, which was determined by the last run of E2E_Check() function invoked during the last call of operator()

ara::com::e2e::SMState GetE2EStateMachineState () const noexcept;

Operators

operator function

Initiate a fire-and-forget method call (ClientServerOperation. fireAndForget ==TRUE)

void operator() ({<p-fnfmethod-in-arg-derived-type-0toN>} {<fnfmethod-in-arg-symbol-0toN>}) noexcept;

Method documentation

function GetE2EStateMachineState [SWS_CM_00147] Upstream: RS_CM_00224, RS_E2E_08534

ara::com::e2e::SMState GetE2EStateMachineState () const noexcept;

Returns the state of the specific fnfmethod class, which was determined by the last run of E2E_Check() function invoked during the last call of operator()

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

Rückgabewert

TypBeschreibung
ara::com::e2e::SMStateState of the specific fnfmethod class

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

Record
AUTOSAR/AP/record/SWS_CM_00147
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_00147@rel:R25-11#f447bc35
Content hash
f447bc35
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_00147
Status: valid/unmigrated Version: rel:R25-11#f447bc35 Versionshistorie & Revisions (1 transition)
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_00147@rel:R25-11#f447bc35
Point-in-Time History:
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_90435] Upstream: RS_CM_00225, RS_AP_00114, RS_AP_00120

void operator() ({<p-fnfmethod-in-arg-derived-type-0toN>} {<fnfmethod-in-arg-symbol-0toN>}) noexcept;

Initiate a fire-and-forget method call (ClientServerOperation. fireAndForget ==TRUE)

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

Parameter (in)

ParameterBeschreibung
{<fnfmethod-in-arg-symbol-0toN>}As per {<p-method-in-arg-symbol-0toN>} in [SWS_CM_00191]

Rückgabewert

TypBeschreibung
None

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

Record
AUTOSAR/AP/record/SWS_CM_90435
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_CM_90435@rel:R25-11#3c47af10
Content hash
3c47af10
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_CommunicationManagement.pdf#nameddest=SWS_CM_90435
Status: valid/unmigrated Version: rel:R25-11#6620ed09 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_90435@rel:R25-11#6620ed09
Point-in-Time History:
Recorded Revisions (8):
  • R25-11rel:R25-11#3c47af102026-09-30
  • R19-11rel:R19-11#c4decbd42026-10-14
  • R20-11rel:R20-11#02f450d92026-10-14
  • R21-11rel:R21-11#0606f4f32026-10-14
  • R22-11rel:R22-11#c4decbd42026-10-14
  • R23-11rel:R23-11#3a705bf02026-10-14
  • R24-11rel:R24-11#41cb46922026-10-14
  • R25-11rel:R25-11#6620ed092026-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