DEENESPTFRRUARHIKOZHNL

클래스 ara::diag::DataTransferWriteHandler

[SWS_DM_01539] Upstream: RS_Diag_04135

class DataTransferWriteHandler {...};

Handles data transfers initiated by AddFile, ResumeFile or ReplaceFile ModeOfOperation handling per requested RequestWriteFile.

Header-Datei#include "ara/diag/data_transfer.h"
Forwarding-Header#include "ara/diag/diag_fwd.h"
Scopenamespace ara::diag

사용자 가이드AI 생성

애플리케이션에서 파일 쓰기 전송 시 수신 데이터 블록을 처리하고 저장합니다.
AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: eacdeba00b95 출처 열린 질문 (2)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

애플리케이션에서 파일 쓰기 전송 시 수신 데이터 블록을 처리하고 저장합니다.

ara::diag::DataTransferWriteHandler 클래스는 AUTOSAR Adaptive에서 AddFile, ResumeFile 또는 ReplaceFile 모드로 RequestWriteFile에 의해 트리거된 파일 쓰기 전송의 애플리케이션 측 처리에 사용됩니다[SWS_DM_01539]. 수신 데이터 패킷은 Write()을 통해 메모리에 비동기식으로 기록되며, 이후 ExitWrite()을 통해 세션이 종료됩니다. 인스턴스는 단일 전송 세션에 엄격하게 바인딩되며 ExitWrite() 호출 전에 절대로 소멸되어서는 안 됩니다[SWS_DM_01541].

컨텍스트

추상 기본 클래스 ara::diag::DataTransferWriteHandler은 AUTOSAR Adaptive Platform에서 쓰기 파일 전송 [SWS_DM_01539](AUTOSAR_AP_SWS_Diagnostics §8.10.6 “Class: DataTransferWriteHandler”)을 위한 인터페이스를 정의합니다. 이는 RequestWriteFile의 프레임워크 내에서 작동 모드 AddFile, ResumeFile 또는 ReplaceFile을 통해 시작된 데이터 전송을 애플리케이션 측에서 처리하는 역할을 합니다.

진단 아키텍처 내에서 핸들러는 외부 UDS 클라이언트, 진단 미들웨어 및 애플리케이션과 상호 작용합니다. 클라이언트는 세그먼트화된 데이터 블록을 전송하며, 이는 핸들러의 파생 구현에 의해 수신되어 애플리케이션 메모리에 저장됩니다 [SWS_DM_01546]. 플랫폼의 Diagnostic Management는 이 과정에서 UDS 프로토콜 조율을 담당하고 핸들러 인터페이스를 통해 페이로드를 대상 애플리케이션으로 전달하는 것으로 추정됩니다. 질문 Q-484dc9dd80e56af4 (열림)

수명 주기

ara::diag::DataTransferWriteHandler의 인스턴스화는 애플리케이션의 특수화된 서브클래스를 통해서만 수행됩니다. 매개변수가 없는 생성자는 protected 및 noexcept=default로 정의되어 있어 [SWS_DM_01540] 기본 클래스의 직접 인스턴스화를 방지합니다. 핸들러 인스턴스는 단일 파일 전송 세션에 엄격하게 바인딩됩니다(“one way usage i.e. per single file transfer session”). 이러한 이유로 복사 생성자 [SWS_DM_01544](AUTOSAR_AP_SWS_Diagnostics §8.10.6.1.2.1 “DataTransferWriteHandler”)와 복사 대입 연산자 [SWS_DM_01545]은 삭제되었습니다(=delete).

반면에 이동 연산은 허용됩니다. 이동 생성자 [SWS_DM_01542](AUTOSAR_AP_SWS_Diagnostics §8.10.6.1.1.1 “Move Constructor”)과 이동 대입 연산자 [SWS_DM_01543]는 모두 noexcept=default(으)로 구현되어 있으며 예외에 안전한 것(exception safe)으로 간주됩니다.

인스턴스 해제에는 구속력 있는 사전 조건이 적용됩니다. 메서드 ExitWrite()이 호출되기 전에는 이 클래스의 인스턴스를 절대로 소멸시켜서는 안 됩니다 [SWS_DM_01541](AUTOSAR_AP_SWS_Diagnostics §8.10.6.1.1.2 “Destructor”). ExitWrite()이 완전히 실행된 후에만 가상 소멸자 ~DataTransferWriteHandler()를 호출할 수 있습니다. 멤버 함수와 소멸자는 스레드 안전하지 않은 것(not thread-safe)으로 명시되어 있습니다 [SWS_DM_01541], [SWS_DM_01546], [SWS_DM_01547].

diag_lifecycle Bereit Bereit Datentransfer aktiv Datentransfer aktiv Bereit->Datentransfer aktiv Write() Datentransfer aktiv->Datentransfer aktiv Write() Beendet Beendet Datentransfer aktiv->Beendet ExitWrite() Zerstört Zerstört Beendet->Zerstört ~DataTransferWriteHandler()

상태 다이어그램: DataTransferWriteHandler 인스턴스의 수명 주기 및 호출 순서. 출처: [SWS_DM_01541], [SWS_DM_01544].

사용 경로

쓰기 전송의 정규 흐름에는 데이터 블록의 단계적 수신과 후속 세션 종료가 포함됩니다.

  • 수신되는 각 데이터 세그먼트에 대해 진단 시스템은 순수 가상 메서드 Write()을 호출합니다 [SWS_DM_01546](AUTOSAR_AP_SWS_Diagnostics §8.10.6.1.3.2 “Write”). 데이터는 ara::core::Span<ara::core::Byte>(으)로 전달됩니다. 이 메모리 영역의 유효성은 연관된 Promise이(가) 충족되거나 작업이 중단될 때까지 유지됩니다. 애플리케이션은 데이터를 내부 버퍼에 추가하고 ara::core::Future<void>을(를) 반환합니다.
  • 모든 세그먼트가 전송된 후 플랫폼은 순수 가상 메서드 ExitWrite()을 호출합니다 [SWS_DM_01547](AUTOSAR_AP_SWS_Diagnostics §8.10.6.1.3.1 “ExitWrite”). 종료 이유(DataTransferExitType), 차량 제조업체별 매개변수(transferRequestParameterRecord), metaInfo 및 CancellationHandler이(가) 전달됩니다.
  • 메서드 ExitWrite()은(는) ara::core::Future<ara::core::Vector<ara::core::Byte>>을(를) 반환합니다. 성공적으로 완료되면 여기에 포함된 데이터는 서비스 ID 뒤에 transferResponseParameterRecord(으)로서 긍정 UDS 응답 메시지에 삽입됩니다 [SWS_DM_01547].
쓰기 데이터 전송의 일반적인 시퀀스UDS-ClientDiagnose-ManagementDataTransferWriteHandlerUse Case: 쓰기 데이터 전송TransferData-AnfrageWrite(requestData, metaInfo, cancellationHandler)데이터 블록 추가Future<void> bereitstellenPositive UDS-AntwortUse Case: 전송 완료RequestTransferExit-AnfrageExitWrite(exitType, transferRequestParameterRecord, ...)Session beenden & Response-Parameter vorbereitenFuture<Vector<Byte>> bereitstellenPositive UDS-Antwort (transferResponseParameterRecord)

시퀀스 다이어그램: 전송 세션 동안의 Write 및 ExitWrite 작업 호출 시퀀스. 출처: [SWS_DM_01546], [SWS_DM_01547].

오류 시나리오

데이터 처리 및 전송 중 발생하는 오류는 표준화된 반환값 및 중단 메커니즘을 통해 관리됩니다.

  • 데이터 블록 쓰기 또는 전송 종료가 실패하면 해당 Future이(가) DiagUdsNrcErrc의 ara::core::ErrorCode과(와) 함께 제공됩니다 [SWS_DM_01546], [SWS_DM_01547]. 이는 클라이언트에 대한 해당 부정 UDS 응답(ISO 14229-1에 따른 NRC) 생성으로 이어집니다.
  • 두 메서드 모두 CancellationHandler을(를) 제공합니다. 애플리케이션은 cancellationHandler.IsCanceled()을(를) 통해 대화가 중단되었는지 확인하거나, 대화 중단 시 실행되는 알림 함수를 cancellationHandler.SetNotifier()을(를) 사용하여 등록할 수 있습니다 [SWS_DM_01546], [SWS_DM_01547].
  • ExitWrite() 호출 전에 인스턴스가 소멸되면 지정된 수명 주기 규칙 위반이 발생하며 [SWS_DM_01541], 이는 정의되지 않은 시스템 상태와 불완전한 파일로 이어질 것으로 추정됩니다. 질문 Q-cc032c11ac89a5b1 (열림) 또한 인터페이스가 명시적으로 스레드 안전하지 않으므로 보호되지 않은 동시 접근은 데이터 불일치를 초래합니다.

이 가이드는 AUTOSAR R25-11을 기반으로 AI 큐레이션 어시스턴트에 의해 작성되었습니다.

멤버 맵

클래스 다이어그램

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

G nara__diag__DataTransferWriteHandler871 DataTransferWriteHandler + DataTransferWriteHandler() + ~DataTransferWriteHandler() + ExitWrite() + Write() + operator=()

상세 보기

개요에서 항목을 선택하세요.

생성자 및 소멸자

Constructs an instance of this class.

오버로드 DataTransferWriteHandler 3
DataTransferWriteHandler () noexcept=default; SWS_DM_01540
DataTransferWriteHandler (DataTransferWriteHandler &&other) noexcept=default; SWS_DM_01542
DataTransferWriteHandler (DataTransferWriteHandler const &)=delete; SWS_DM_01544

Destructs an instance of this class. An instance of this class must not be destroyed before ExitWrite() is called.

virtual ~DataTransferWriteHandler () noexcept;

메서드

ExitWrite 함수

Exits an ongoing data transfer session.

virtual auto ExitWrite (DataTransferExitType exitType, ara::core::Span< ara::core::Byte > transferRequestParameterRecord, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< ara::core::Vector< ara::core::Byte > >=0;
Write 함수

Appends a data chunk into application memory.

virtual auto Write (ara::core::Span< ara::core::Byte > requestData, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< void >=0;

연산자

operator= 함수 2

Move assigns an instance of this class.

오버로드 = 2
auto operator= (DataTransferWriteHandler &&other) & noexcept -> Data TransferWriteHandler & =default; SWS_DM_01543
auto operator= (DataTransferWriteHandler const &) -> DataTransferWrite Handler &=delete; SWS_DM_01545

메서드 문서

함수 DataTransferWriteHandler [SWS_DM_01540] Upstream: RS_Diag_04135

DataTransferWriteHandler () noexcept=default;

Constructs an instance of this class.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler
Exception-Sicherheitexception safe
Sichtbarkeitprotected

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

Record
AUTOSAR/AP/record/SWS_DM_01540
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01540@rel:R25-11#2c3d47e8
Content hash
2c3d47e8
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01540
Status: valid/unmigrated Version: rel:R25-11#ce924475 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_DM_01540@rel:R25-11#ce924475
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#acb66c4a2026-09-30
  • R22-11rel:R22-11#0c5ae1862026-10-14
  • R23-11rel:R23-11#56c835de2026-10-14
  • R24-11rel:R24-11#446d15582026-10-14
  • R25-11rel:R25-11#ce9244752026-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

함수 DataTransferWriteHandler [SWS_DM_01542] Upstream: RS_Diag_04135

DataTransferWriteHandler (DataTransferWriteHandler &&other) noexcept=default;

Move constructs an instance of this class.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler
Exception-Sicherheitexception safe

Parameter (out)

ParameterBeschreibung
otherThe other object

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

Record
AUTOSAR/AP/record/SWS_DM_01542
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01542@rel:R25-11#8c8ff0af
Content hash
8c8ff0af
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01542
Status: valid/unmigrated Version: rel:R25-11#f9761af1 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_DM_01542@rel:R25-11#f9761af1
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#d00a87442026-09-30
  • R22-11rel:R22-11#8521b7bd2026-10-14
  • R23-11rel:R23-11#9d6f45372026-10-14
  • R24-11rel:R24-11#28d967802026-10-14
  • R25-11rel:R25-11#f9761af12026-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

함수 DataTransferWriteHandler [SWS_DM_01544] Upstream: RS_Diag_04135

DataTransferWriteHandler (DataTransferWriteHandler const &)=delete;

Handlers shall not be copyable since only one way usage i.e. per single file transfer session.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler

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

Record
AUTOSAR/AP/record/SWS_DM_01544
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01544@rel:R25-11#58d8e88f
Content hash
58d8e88f
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01544
Status: valid/unmigrated Version: rel:R25-11#a6a8cde7 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_DM_01544@rel:R25-11#a6a8cde7
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#f6609a6b2026-09-30
  • R22-11rel:R22-11#02a7720b2026-10-14
  • R23-11rel:R23-11#31b1d78f2026-10-14
  • R24-11rel:R24-11#805974712026-10-14
  • R25-11rel:R25-11#a6a8cde72026-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

함수 ExitWrite [SWS_DM_01547] Upstream: RS_Diag_04135

virtual auto ExitWrite (DataTransferExitType exitType, ara::core::Span< ara::core::Byte > transferRequestParameterRecord, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< ara::core::Vector< ara::core::Byte > >=0;

Exits an ongoing data transfer session.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: 459b3563e8d0 출처
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

사용

가상 멤버 함수 ara::diag::DataTransferWriteHandler::ExitWrite은(는) 쓰기 접근을 위한 진행 중인 데이터 전송 세션을 종료합니다[SWS_DM_01547](AUTOSAR_AP_SWS_Diagnostics §8.10.6.1.3.1 “ExitWrite”, 헤더 #include "ara/diag/data_transfer.h"). 호출 파라미터는 다음과 같습니다:

  • exitType: 세션 종료 이유를 결정합니다[SWS_DM_01547].
  • transferRequestParameterRecord: 데이터 전송을 지원하기 위한 차량 제조업체별 파라미터입니다. span의 유효성은 연관된 Promise가 충족되거나 연산이 취소될 때까지 유지되어야 합니다[SWS_DM_01547].
  • metaInfo: 진단 요청의 메타 정보입니다[SWS_DM_01547].
  • cancellationHandler: cancellationHandler.IsCanceled()을(를) 통한 취소 상태 조회 및 cancellationHandler.SetNotifier()을(를) 통한 Notifier 등록을 가능하게 합니다[SWS_DM_01547].

해당 함수는 비동기식으로 작동하며 ara::core::Future<ara::core::Vector<ara::core::Byte>>을(를) 반환합니다. 성공 시 그 결과 데이터는 transferResponseParameterRecord(으)로서 긍정 응답 메시지의 SID 뒤에 삽입됩니다[SWS_DM_01547].

오류 처리

종료가 실패하면 Future는 DiagUdsNrcErrc을(를) 통해 ISO 14229-1에 따른 적절한 Negative Response Code(NRC)와 함께 제공되어야 합니다[SWS_DM_01547]. 해당 함수는 noexcept 및 예외 안전(exception safe)으로 명시되어 있습니다[SWS_DM_01547].

동시성 및 상호 작용

해당 구현은 스레드 안전하지 않습니다(not thread-safe) [SWS_DM_01547]. 객체 라이프사이클과 관련하여 엄격한 순서 조건이 존재합니다. 핸들러 클래스의 인스턴스는 ExitWrite()이(가) 호출된 후에만 소멸될 수 있습니다[SWS_DM_01541].

이 사용 지침은 릴리스 R25-11에 대한 AUTOSAR 사양을 기반으로 자동 생성되었습니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
exitTypeSpecifies the exit reason
transferRequestParameterRecordThis parameter record contains parameter(s), which are required by the server to support the transfer of data. Format and length of this parameter(s) are vehicle manufacturer specific. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns true in case, the current conversation has been cancelled and false otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future<ara::core::Vector<ara::core::Byte > >Returns a Future, which either gets readied to OperationOutput (transferResponseParameterRecord for a positive response message) or readied with ErrorCode from DiagUdsNrcErrc (for an negative response message) Data in OperationOutput.response_ data will be placed after SID as transferResponseParameterRecord in the positive response.

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_01547
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01547@rel:R25-11#6aeaef9d
Content hash
6aeaef9d
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01547
Status: valid/unmigrated Version: rel:R25-11#4a759481 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_DM_01547@rel:R25-11#4a759481
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#6a47615b2026-09-30
  • R22-11rel:R22-11#6bb0d0d22026-10-14
  • R23-11rel:R23-11#6cbd6fbf2026-10-14
  • R24-11rel:R24-11#01d23ade2026-10-14
  • R25-11rel:R25-11#4a7594812026-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

함수 Write [SWS_DM_01546] Upstream: RS_Diag_04135

virtual auto Write (ara::core::Span< ara::core::Byte > requestData, MetaInfo const &metaInfo, CancellationHandler cancellationHandler) noexcept -> ara::core::Future< void >=0;

Appends a data chunk into application memory.

AI 생성 미검증 모델: gemini-3.8-flash-medium · 노력: medium · 온도: 제어 불가 · 프롬프트: a81be0f54500 출처 열린 질문 (1)
독일어 가이드에서 번역됨gemini-3.8-flash-low · 2026-10-13 · 독일어 원문

인터페이스 ara::diag::DataTransferWriteHandler의 메서드 Write은(는) UDS 파일 전송 시 수신된 데이터 블록을 애플리케이션의 메모리 영역에 추가하는 역할을 합니다[SWS_DM_01546]. RequestFileTransfer (0x38)에 의해 시작된 프로세스의 프레임워크 내에서 UDS 요청 TransferData (0x36)이(가) 수신되면 Diagnostic Server 인스턴스에 의해 호출이 이루어집니다[SWS_DM_01317].

매개변수 및 시맨틱

기록할 파일 내용은 requestData을(를) 통해 ara::core::Span<ara::core::Byte>(으)로 전달되며, 참조된 버퍼는 연관된 Promise가 충족되거나 처리가 취소될 때까지 유효한 상태를 유지합니다[SWS_DM_01546]. 파라미터 metaInfo은(는) 진단 요청의 메타 정보를 제공합니다. cancellationHandler을(를) 통해 IsCanceled(으)로 현재 취소 상태를 확인하거나 SetNotifier을(를) 통해 알림 콜백을 등록할 수 있습니다[SWS_DM_01546].

오류 처리 및 동시성

결과는 비동기식으로 ara::core::Future<void>(으)로 반환됩니다. 성공 시 Future는 비어 있는 상태로 완료되며, 오류 발생 시에는 ISO 14229-1에 따라 DiagUdsNrcErrc의 적절한 Negative Response Code(NRC)로 완료되어야 합니다[SWS_DM_01546]. 해당 함수는 exception safe이지만 명시적으로 not thread-safe로 명시되어 있습니다[SWS_DM_01546]. 따라서 Diagnostic Server는 동일한 세션에 대해 순차적 호출을 보장할 것으로 추정됩니다. 질문 Q-e60d55fe09b9a2c5 (열림)

상호 작용 및 시퀀스

쓰기 핸들러는 DataTransferWriteSession 내의 템플릿 생성자를 통해 등록됩니다[SWS_DM_01317]. 전송이 RequestTransferExit (0x37)을(를) 통해 완료되면 서버는 동일한 핸들러의 Exit 메서드를 호출합니다[SWS_DM_01318]. 이 요소는 [SWS_DM_00598] 또는 [SWS_DM_00637]에 정의된 것과 같은 DID 관련 쓰기 메서드와 구별됩니다.

이 텍스트는 자동으로 작성되었습니다. 기술적 서술은 명세서 참조로 뒷받침됩니다.

구현자 가이드 준비 중 (복잡도 I1)

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

Parameter (in)

ParameterBeschreibung
requestDataThe first or subsequent file content chunk received from the UDS client to be written into the file. Lifetime: Valid until Promise is fulfilled or the processing is cancelled by the cancellationHandler.
metaInfoMetaInfo of the request.
cancellationHandlerThis parameter is used to • Query the current cancellation status by calling cancellationHandler.IsCanceled. Returns TRUE in case, the current conversation has been cancelled and FALSE otherwise. • Register a notifier function by calling cancellationHandler.SetNotifier. The registered notifier is called if the current conversation is cancelled.

Rückgabewert

TypBeschreibung
ara::core::Future< void >A Future, which either is of type void or readied with ErrorCode from DiagUdsNrcErrc (for an negative response message).

Fehler

FehlercodeBeschreibung
Please use an applicable NRC, as defined in ISO 14229-1, using DiagUdsNrcErrc.

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

Record
AUTOSAR/AP/record/SWS_DM_01546
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01546@rel:R25-11#8c013007
Content hash
8c013007
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01546
Status: valid/unmigrated Version: rel:R25-11#ee27f616 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_DM_01546@rel:R25-11#ee27f616
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#1370e5c72026-09-30
  • R22-11rel:R22-11#7c7b4b9d2026-10-14
  • R23-11rel:R23-11#909d93eb2026-10-14
  • R24-11rel:R24-11#0b61dc6d2026-10-14
  • R25-11rel:R25-11#ee27f6162026-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

함수 operator= [SWS_DM_01543] Upstream: RS_Diag_04135

auto operator= (DataTransferWriteHandler &&other) & noexcept -> Data TransferWriteHandler & =default;

Move assigns an instance of this class.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler
Exception-Sicherheitexception safe

Parameter (out)

ParameterBeschreibung
otherThe other object

Rückgabewert

TypBeschreibung
DataTransferWriteHandlerReference to self

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

Record
AUTOSAR/AP/record/SWS_DM_01543
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01543@rel:R25-11#fc60e498
Content hash
fc60e498
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01543
Status: valid/unmigrated Version: rel:R25-11#70393c5c 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_DM_01543@rel:R25-11#70393c5c
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#4eaa4fdb2026-09-30
  • R22-11rel:R22-11#6fa6901d2026-10-14
  • R23-11rel:R23-11#4be1d5ef2026-10-14
  • R24-11rel:R24-11#c4fc64e02026-10-14
  • R25-11rel:R25-11#70393c5c2026-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

함수 operator= [SWS_DM_01545] Upstream: RS_Diag_04135

auto operator= (DataTransferWriteHandler const &) -> DataTransferWrite Handler &=delete;

Handlers shall not be copyable since only one way usage i.e. per single file transfer session.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler

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

Record
AUTOSAR/AP/record/SWS_DM_01545
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01545@rel:R25-11#33bf47e0
Content hash
33bf47e0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01545
Status: valid/unmigrated Version: rel:R25-11#d868cb77 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_DM_01545@rel:R25-11#d868cb77
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#dd0897c62026-09-30
  • R22-11rel:R22-11#fdaebbd22026-10-14
  • R23-11rel:R23-11#2755cabd2026-10-14
  • R24-11rel:R24-11#dc06c93a2026-10-14
  • R25-11rel:R25-11#d868cb772026-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

함수 ~DataTransferWriteHandler [SWS_DM_01541] Upstream: RS_Diag_04135

virtual ~DataTransferWriteHandler () noexcept;

Destructs an instance of this class. An instance of this class must not be destroyed before ExitWrite() is called.

Header-Datei#include "ara/diag/data_transfer.h"
Scopeclass ara::diag::DataTransferWriteHandler
Exception-Sicherheitexception safe
Thread-Sicherheitnot thread-safe

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

Record
AUTOSAR/AP/record/SWS_DM_01541
Status
valid/unmigrated
Version
AUTOSAR/AP/record/SWS_DM_01541@rel:R25-11#dd0254f0
Content hash
dd0254f0
Source
https://www.autosar.org/fileadmin/standards/R25-11/AP/AUTOSAR_AP_SWS_Diagnostics.pdf#nameddest=SWS_DM_01541
Status: valid/unmigrated Version: rel:R25-11#e85ac9b4 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_DM_01541@rel:R25-11#e85ac9b4
Point-in-Time History:
Recorded Revisions (5):
  • R25-11rel:R25-11#8bd327902026-09-30
  • R22-11rel:R22-11#82dc40042026-10-14
  • R23-11rel:R23-11#fd7a2dc42026-10-14
  • R24-11rel:R24-11#a6702b582026-10-14
  • R25-11rel:R25-11#e85ac9b42026-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