फ़ंक्शन 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().
उपयोग
क्लास apext::diag::uds_transport::UdsTransportProtocolMgr का मेथड ChannelReestablished 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 के आधार पर एक AI द्वारा स्वचालित रूप से जनरेट किया गया था।
इम्प्लीमेंटर गाइड जल्द आएगी (जटिलता 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#951fec48- Content hash
951fec48- 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 · जर्मन मूल