Class AdvancedDicomClientAssociationExtensions
Inheritance
Inherited Members
Namespace: FellowOakDicom.Network.Client.Advanced.Association
Assembly: fo-dicom.core.dll
Syntax
public static class AdvancedDicomClientAssociationExtensions
Methods
SendCEchoRequestAsync(IAdvancedDicomClientAssociation, DicomCEchoRequest, CancellationToken)
Sends a C-ECHO request over the provided association
Declaration
public static async Task<DicomCEchoResponse> SendCEchoRequestAsync(this IAdvancedDicomClientAssociation association, DicomCEchoRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IAdvancedDicomClientAssociation | association | The association with another AE to send to the request to |
DicomCEchoRequest | request | The request to send |
System.Threading.CancellationToken | cancellationToken | The token that cancels the request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DicomCEchoResponse> | A single C-ECHO response |
SendCFindRequestAsync(IAdvancedDicomClientAssociation, DicomCFindRequest, CancellationToken)
Sends a C-FIND request over the provided association
Declaration
public static async IAsyncEnumerable<DicomCFindResponse> SendCFindRequestAsync(this IAdvancedDicomClientAssociation association, DicomCFindRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IAdvancedDicomClientAssociation | association | The association with another AE to send to the request to |
DicomCFindRequest | request | The request to send |
System.Threading.CancellationToken | cancellationToken | The token that cancels the request |
Returns
Type | Description |
---|---|
System.Collections.Generic.IAsyncEnumerable<DicomCFindResponse> | (Typically) One pending C-FIND response per SOP instance, and lastly one success C-FIND response |
SendCMoveRequestAsync(IAdvancedDicomClientAssociation, DicomCMoveRequest, CancellationToken)
Sends a C-MOVE request over the provided association
Declaration
public static async IAsyncEnumerable<DicomCMoveResponse> SendCMoveRequestAsync(this IAdvancedDicomClientAssociation association, DicomCMoveRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IAdvancedDicomClientAssociation | association | The association with another AE to send to the request to |
DicomCMoveRequest | request | The request to send |
System.Threading.CancellationToken | cancellationToken | The token that cancels the request |
Returns
Type | Description |
---|---|
System.Collections.Generic.IAsyncEnumerable<DicomCMoveResponse> | (Typically) One pending C-MOVE response per stored SOP instance, and lastly one success C-MOVE response |
SendCStoreRequestAsync(IAdvancedDicomClientAssociation, DicomCStoreRequest, CancellationToken)
Sends a C-STORE request over the provided association
Declaration
public static async Task<DicomCStoreResponse> SendCStoreRequestAsync(this IAdvancedDicomClientAssociation association, DicomCStoreRequest request, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
IAdvancedDicomClientAssociation | association | The association with another AE to send to the request to |
DicomCStoreRequest | request | The request to send |
System.Threading.CancellationToken | cancellationToken | The token that cancels the request |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<DicomCStoreResponse> | A single C-STORE response |