public static Task <IDicomClientState> TransitionToSendingRequestsState(this DicomClient dicomClient, IInitialisationWithAssociationParameters parameters, DicomClientCancellation cancellation) => TransitionToSendingRequestsState(dicomClient, parameters, parameters.Association, cancellation);
public static Task <IDicomClientState> TransitionToCompletedWithErrorState(this DicomClient dicomClient, IInitialisationWithConnectionParameters parameters, Exception exception, DicomClientCancellation cancellation) => TransitionToCompletedWithErrorState(dicomClient, parameters.Connection, exception, cancellation);
public static Task <IDicomClientState> TransitionToConnectState(this DicomClient dicomClient, DicomClientCancellation cancellation) { var connectState = new DicomClientConnectState(dicomClient); return(dicomClient.Transition(connectState, cancellation)); }
public static Task <IDicomClientState> TransitionToRequestAssociationState(this DicomClient dicomClient, IInitialisationWithConnectionParameters parameters, DicomClientCancellation cancellation) => TransitionToRequestAssociationState(dicomClient, parameters.Connection, cancellation);
public Task <DicomResponse> OnNEventReportRequestAsync(DicomNEventReportRequest request) => DicomClient.OnNEventReportRequestAsync(request);
public static Task <IDicomClientState> TransitionToIdleState(this DicomClient dicomClient, DicomClientCancellation cancellation) { var idleState = new DicomClientIdleState(dicomClient); return(dicomClient.Transition(idleState, cancellation)); }
public Task OnRequestTimedOutAsync(DicomRequest request, TimeSpan timeout) => DicomClient.OnRequestTimedOutAsync(request, timeout);
public Task <DicomResponse> OnCStoreRequestAsync(DicomCStoreRequest request) => DicomClient.OnCStoreRequestAsync(request);
public Task OnConnectionClosedAsync(Exception exception) => DicomClient.OnConnectionClosedAsync(exception);
public Task OnRequestCompletedAsync(DicomRequest request, DicomResponse response) => DicomClient.OnRequestCompletedAsync(request, response);
public Task OnReceiveAbortAsync(DicomAbortSource source, DicomAbortReason reason) => DicomClient.OnReceiveAbortAsync(source, reason);
public Task OnReceiveAssociationReleaseResponseAsync() => DicomClient.OnReceiveAssociationReleaseResponseAsync();
public Task OnReceiveAssociationRejectAsync(DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason) => DicomClient.OnReceiveAssociationRejectAsync(result, source, reason);
public Task OnReceiveAssociationAcceptAsync(DicomAssociation association) => DicomClient.OnReceiveAssociationAcceptAsync(association);
protected override Task OnSendQueueEmptyAsync() => DicomClient.OnSendQueueEmptyAsync();