Mercurial > hg > orthanc-python
comparison CodeAnalysis/CustomFunctions.json @ 214:d74ed3e6423e
documented orthanc.RegisterStorageCommitmentScpCallback()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 03 Jul 2024 15:29:01 +0200 |
parents | f8dc8dd2da76 |
children |
comparison
equal
deleted
inserted
replaced
213:f8dc8dd2da76 | 214:d74ed3e6423e |
---|---|
337 { | 337 { |
338 "sdk_name" : "callback", | 338 "sdk_name" : "callback", |
339 "sdk_type" : "Callable", | 339 "sdk_type" : "Callable", |
340 "callable_type" : "ReceivedInstanceCallback", | 340 "callable_type" : "ReceivedInstanceCallback", |
341 "callable_protocol_args" : "received_dicom: bytes, origin: InstanceOrigin", | 341 "callable_protocol_args" : "received_dicom: bytes, origin: InstanceOrigin", |
342 "callable_protocol_return" : "tuple(ReceivedInstanceAction, bytes)" | 342 "callable_protocol_return" : "tuple[ReceivedInstanceAction, bytes]" |
343 } | |
344 ], | |
345 "return_sdk_type" : "void" | |
346 }, | |
347 | |
348 { | |
349 "comment" : "New in release 4.1", | |
350 "short_name" : "RegisterStorageCommitmentScpCallback", | |
351 "implementation" : "RegisterStorageCommitmentScpCallback", | |
352 "documentation" : { | |
353 "description" : [ "Register a callback to handle incoming requests to the storage commitment SCP." ], | |
354 "args" : { | |
355 "callback" : "Main callback that creates the a driver to handle an incoming storage commitment request.", | |
356 "lookup" : "Callback function to get the status of one DICOM instance." | |
357 } | |
358 }, | |
359 "args" : [ | |
360 { | |
361 "sdk_name" : "callback", | |
362 "sdk_type" : "Callable", | |
363 "callable_type" : "StorageCommitmentScpCallback", | |
364 "callable_protocol_args" : "job_id: str, transaction_uid: str, sop_class_uids: list[str], sop_instance_uids: list[str], remote_aet: str, called_aet: str", | |
365 "callable_protocol_return" : "object", "comment" : "This is the newly created storage commitment driver." | |
366 }, | |
367 { | |
368 "sdk_name" : "lookup", | |
369 "sdk_type" : "Callable", | |
370 "callable_type" : "StorageCommitmentLookup", | |
371 "callable_protocol_args" : "sop_class_uid: str, sop_instance_uid: str, driver: object", | |
372 "callable_protocol_return" : "StorageCommitmentFailureReason" | |
343 } | 373 } |
344 ], | 374 ], |
345 "return_sdk_type" : "void" | 375 "return_sdk_type" : "void" |
346 } | 376 } |
347 ] | 377 ] |