دالة ChannelReestablished [SWS_DM_00313] Upstream: RS_AP_00120, RS_AP_00121, RS_AP_00122, RS_Diag_04147, RS_Diag_04168
virtual void ChannelReestablished (GlobalChannelIdentifier global ChannelId) noexcept=0;
Notification call from the given transport protocol channel, that it has been reestablished since the last (Re)Start from the UdsTransportProtocolHandler to which this channel belongs. To activate this notification a previous call to UdsTransportProtocolHandler::Notify Reestablishment() has to be done. See further documentation at UdsTransport ProtocolHandler::NotifyReestablishment().
الاستخدام
تُستخدم الطريقة ChannelReestablished من الفئة apext::diag::uds_transport::UdsTransportProtocolMgr كإشعار من تنفيذ بروتوكول نقل UDS إلى Diagnostic Management (DM) يفيد بأن قناة اتصال أصبحت متاحة مجددًا بعد (إعادة) التشغيل [SWS_DM_00313]. يستدعي تنفيذ بروتوكول النقل هذه الطريقة مرة واحدة فقط بمجرد اكتشاف إعادة توفر قناة الشبكة الممثلة بـ ChannelID [SWS_DM_00358]. ويتم تمرير globalChannelId كمعلمة، متكونًا من صف يحتوي على handlerIdent الخاص به و ChannelID [SWS_DM_00358].
التفاعل ودورة الحياة
الشرط المسبق للإشعار هو استدعاء سابق لـ NotifyReestablishment [SWS_DM_00313]، [SWS_DM_00356]. حالة الاستخدام النموذجية هي إجراء إعادة ضبط لـ ECU (خدمة UDS 0x11) مع خيار استجابة إيجابية بعد إعادة التشغيل [SWS_DM_00326]. ولضمان الإشعار حتى بعد إعادة تشغيل DM، يجب حفظ طلب الإشعار بشكل دائم بواسطة بروتوكول النقل [SWS_DM_00359].
معالجة الأخطاء والتزامن
لا تمتلك الدالة أي قيمة إرجاع ومحددة كـ noexcept (exception safe) [SWS_DM_00313]. ونظرًا لأن الواجهة مصنفة على أنها غير آمنة خيطيًا (not thread-safe) [SWS_DM_00313]، فمن المرجح أن يتعين على المعالجات المستدعية مزامنة الوصول خارجيًا. سؤال Q-aaf14893457cceb6 (مفتوح) كقيد زمني، لا يُسمح لـ DM بمعالجة استدعاء ChannelReestablished إلا بعد استدعاء UdsTransportProtocolHandler::Start [SWS_DM_01744].
تم إنشاء هذا النص تلقائيًا بواسطة ذكاء اصطناعي بناءً على مواصفة AUTOSAR ذات الإصدار R25-11.
دليل المنفِّذ قيد الإعداد (التعقيد I2)
| Header-Datei | #include "apext/diag/uds_transport/protocol_mgr.h" |
|---|---|
| Scope | class apext::diag::uds_transport::UdsTransportProtocolMgr |
| Exception-Sicherheit | exception safe |
| Thread-Sicherheit | not thread-safe |
Parameter (in)
| Parameter | Beschreibung |
|---|---|
| globalChannelId | transport protocol channel, which is available again. |
Rückgabewert
| Typ | Beschreibung |
|---|---|
| None |
Request a governed re-review of this record. The record is not changed immediately.
- Record
AUTOSAR/AP/record/SWS_DM_00313- Status
- valid/unmigrated
- Version
AUTOSAR/AP/record/SWS_DM_00313@rel:R25-11#bd4da5cd- Content hash
bd4da5cd- Source
- https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_00313
Status: valid/unmigrated
Version: rel:R25-11#4c5b70ac
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_DM_00313@rel:R25-11#4c5b70ac
Recorded Revisions (8):
- R25-11
rel:R25-11#dacc8bb22026-09-30 - R19-11
rel:R19-11#acd4155f2026-10-14 - R20-11
rel:R20-11#9235fd502026-10-14 - R21-11
rel:R21-11#b392eb2d2026-10-14 - R22-11
rel:R22-11#b01162a42026-10-14 - R23-11
rel:R23-11#f88cee172026-10-14 - R24-11
rel:R24-11#867edbc12026-10-14 - R25-11
rel:R25-11#4c5b70ac2026-10-14 active
Requirement Text as-of this release:
Curation Decisions:
Reachable Artifacts & Dependents:
| Date | Actor | Transition | Reason / Rationale | Campaign |
|---|---|---|---|---|
| 2026-08-13 | tool | none → valid/unmigrated | mechanically backfilled by migriere_status_backfill.py -- no per-field curation history exists yet for this record | 2026-08-13-status-backfill |
gemini-3.8-flash-low· 2026-10-13 · الأصل الألماني