Exemplo n.º 1
0
 public static Task <IDicomClientState> TransitionToSendingRequestsState(this DicomClient dicomClient,
                                                                         IInitialisationWithAssociationParameters parameters, DicomClientCancellation cancellation) =>
 TransitionToSendingRequestsState(dicomClient, parameters, parameters.Association, cancellation);
Exemplo n.º 2
0
 public static Task <IDicomClientState> TransitionToCompletedWithErrorState(this DicomClient dicomClient,
                                                                            IInitialisationWithConnectionParameters parameters,
                                                                            Exception exception, DicomClientCancellation cancellation) =>
 TransitionToCompletedWithErrorState(dicomClient, parameters.Connection, exception, cancellation);
Exemplo n.º 3
0
        public static Task <IDicomClientState> TransitionToConnectState(this DicomClient dicomClient, DicomClientCancellation cancellation)
        {
            var connectState = new DicomClientConnectState(dicomClient);

            return(dicomClient.Transition(connectState, cancellation));
        }
Exemplo n.º 4
0
 public static Task <IDicomClientState> TransitionToRequestAssociationState(this DicomClient dicomClient, IInitialisationWithConnectionParameters parameters,
                                                                            DicomClientCancellation cancellation) =>
 TransitionToRequestAssociationState(dicomClient, parameters.Connection, cancellation);
Exemplo n.º 5
0
 public Task <DicomResponse> OnNEventReportRequestAsync(DicomNEventReportRequest request) => DicomClient.OnNEventReportRequestAsync(request);
Exemplo n.º 6
0
        public static Task <IDicomClientState> TransitionToIdleState(this DicomClient dicomClient, DicomClientCancellation cancellation)
        {
            var idleState = new DicomClientIdleState(dicomClient);

            return(dicomClient.Transition(idleState, cancellation));
        }
Exemplo n.º 7
0
 public Task OnRequestTimedOutAsync(DicomRequest request, TimeSpan timeout) => DicomClient.OnRequestTimedOutAsync(request, timeout);
Exemplo n.º 8
0
 public Task <DicomResponse> OnCStoreRequestAsync(DicomCStoreRequest request) => DicomClient.OnCStoreRequestAsync(request);
Exemplo n.º 9
0
 public Task OnConnectionClosedAsync(Exception exception) => DicomClient.OnConnectionClosedAsync(exception);
Exemplo n.º 10
0
 public Task OnRequestCompletedAsync(DicomRequest request, DicomResponse response) => DicomClient.OnRequestCompletedAsync(request, response);
Exemplo n.º 11
0
 public Task OnReceiveAbortAsync(DicomAbortSource source, DicomAbortReason reason) => DicomClient.OnReceiveAbortAsync(source, reason);
Exemplo n.º 12
0
 public Task OnReceiveAssociationReleaseResponseAsync() => DicomClient.OnReceiveAssociationReleaseResponseAsync();
Exemplo n.º 13
0
 public Task OnReceiveAssociationRejectAsync(DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason) => DicomClient.OnReceiveAssociationRejectAsync(result, source, reason);
Exemplo n.º 14
0
 public Task OnReceiveAssociationAcceptAsync(DicomAssociation association) => DicomClient.OnReceiveAssociationAcceptAsync(association);
Exemplo n.º 15
0
 protected override Task OnSendQueueEmptyAsync() => DicomClient.OnSendQueueEmptyAsync();