←Select platform

Is this page helpful?

In this page

OnGet2 Method

Summary

Allows the add-in to handle a C-GET-REQ command.

Syntax
C#
C++/CLI

Parameters

Client

The client that sent the command.

PresentationId

The Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data.

MessageId

The Message ID. Each message sent by a member of a connection should have a unique ID. Since a member of a connection may send several messages, this ID allows that member to identify when a specific request has been completed.

AffectedClass

The class affected by the request. This will be a SOP Class or a Meta SOP Class.

Priority

The priority level of the message. The Service Class Provider may or may not support priority. Therefore, setting this parameter may or may not have any effect.

Request

A DicomDataSet that encodes attributes providing status information about the C-GET operation.

StatusBaseArgs

An object derived from StatusBase that contains the optional status DICOM Elements to be added to the command set. This is returned by the implementor.

Return Value

A DicomCommandStatusType representing the outcome of processing.

Remarks

The OnGet2 is a replacement for the OnGet method.

When the DICOM Listening Service (Leadtools.Dicom.Server.exe) gets a C-GET-REQ, it does the following:

  1. Checks if the IProcessCGet2 interface has been implemented by an addin. If so, then DICOM Listening Service calls the OnGet2 method to handle the C-GET-REQ.

  2. Otherwise, checks if the IProcessCGet has been implemented by an addin. If so, then DICOM Listening Service calls the OnGet method to handle the C-GET-REQ.

The StatusBaseArgs argument is used to set additional optional status DICOM Elements in the C-GET-RSP command set.

If the return value is DicomCommandStatusType.Success, then the out argument StatusBaseArgs should return an instance of StatusBase.

If the return value is not DicomCommandStatusType.Success, then the out argument StatusBaseArgs should be an instance of one of the following StatusBase derived classes:

Requirements

Target Platforms

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.AddIn Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.