C# Class Dicom.Network.DcmNetworkBase

Afficher le fichier Open project: fo-dicom/mdcm

Méthodes publiques

Méthode Description
Connect ( string host, int port, DcmSocketType type ) : void
DcmNetworkBase ( ) : System

Méthodes protégées

Méthode Description
InitializeNetwork ( DcmSocket socket ) : void
NextMessageID ( ) : ushort
OnConnected ( ) : void
OnConnectionClosed ( ) : void
OnDimseTimeout ( ) : void
OnInitializeNetwork ( ) : void
OnNetworkError ( Exception e ) : void
OnPostReceiveCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmDataset dataset, string fileName ) : void
OnPreReceiveCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, string &fileName ) : void
OnReceiveAbort ( DcmAbortSource source, DcmAbortReason reason ) : void
OnReceiveAssociateAccept ( DcmAssociate association ) : void
OnReceiveAssociateReject ( DcmRejectResult result, DcmRejectSource source, DcmRejectReason reason ) : void
OnReceiveAssociateRequest ( DcmAssociate association ) : void
OnReceiveCCancelRequest ( byte presentationID, ushort messageIdRespondedTo ) : void
OnReceiveCEchoRequest ( byte presentationID, ushort messageID, DcmPriority priority ) : void
OnReceiveCEchoResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
OnReceiveCFindRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
OnReceiveCFindResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status ) : void
OnReceiveCGetRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
OnReceiveCGetResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
OnReceiveCMoveRequest ( byte presentationID, ushort messageID, string destinationAE, DcmPriority priority, DcmDataset dataset ) : void
OnReceiveCMoveResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
OnReceiveCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, DcmDataset dataset, string fileName ) : void
OnReceiveCStoreResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedInstance, DcmStatus status ) : void
OnReceiveDimse ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
OnReceiveDimseBegin ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
OnReceiveDimseProgress ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
OnReceiveNActionRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, ushort actionTypeID, DcmDataset dataset ) : void
OnReceiveNActionResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort actionTypeID, DcmDataset dataset, DcmStatus status ) : void
OnReceiveNCreateRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset ) : void
OnReceiveNCreateResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
OnReceiveNDeleteRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance ) : void
OnReceiveNDeleteResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmStatus status ) : void
OnReceiveNEventReportRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset ) : void
OnReceiveNEventReportResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset, DcmStatus status ) : void
OnReceiveNGetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, Dicom.Data.DicomTag attributes ) : void
OnReceiveNGetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
OnReceiveNSetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, DcmDataset dataset ) : void
OnReceiveNSetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
OnReceiveReleaseRequest ( ) : void
OnReceiveReleaseResponse ( ) : void
OnSendDimse ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
OnSendDimseBegin ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
OnSendDimseProgress ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
Reconnect ( ) : void
SendAbort ( DcmAbortSource source, DcmAbortReason reason ) : void

The ACSE A-ABORT service shall be used by a requestor in either of the AEs to cause the abnormal release of the association. It shall be a non-confirmed service. However, because of the possibility of an A-ABORT service procedure collision, the delivery of the indication primitive is not guaranteed. Should such a collision occur, both AEs are aware that the association has been terminated. The abort shall be performed through A-ABORT request and A-ABORT indication primitives.

SendAssociateAccept ( DcmAssociate associate ) : void

The called AE shall accept or reject the association by sending an A-ASSOCIATE response primitive with an appropriate Result parameter. The Upper layer service-provider shall issue an A-ASSOCIATE confirmation primitive having the same Result parameter. The Result Source parameter shall be assigned the symbolic value of “UL service-user.”

SendAssociateReject ( DcmRejectResult result, DcmRejectSource source, DcmRejectReason reason ) : void

The UL service-provider may not be capable of supporting the requested association. In this situation, it shall return an A-ASSOCIATE confirmation primitive to the requestor with an appropriate Result parameter (rejected). The Result Source parameter shall be appropriately assigned either the symbolic value of “UL service-provider (ACSE related function)” or “UL service-provider (Presentation related function).” The indication primitive shall not be issued. The association shall not be established.

SendAssociateRequest ( DcmAssociate associate ) : void

A DICOM Application Entity (which includes the Upper Layer service-user) that desires to establish an association shall issue an A-ASSOCIATE request primitive. The called AE is identified by parameters of the request primitive. The requestor shall not issue any primitives except an A-ABORT request primitive until it receives an A-ASSOCIATE confirmation primitive.

SendCCancelRequest ( byte presentationID, ushort messageIdRespondedTo ) : void
SendCEchoRequest ( byte presentationID, ushort messageID, DcmPriority priority ) : void
SendCEchoResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
SendCFindRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
SendCFindResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status ) : void
SendCFindResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
SendCGetRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
SendCGetResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
SendCGetResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
SendCMoveRequest ( byte presentationID, ushort messageID, string destinationAE, DcmPriority priority, DcmDataset dataset ) : void
SendCMoveResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
SendCMoveResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, DcmDataset dataset ) : void

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, Stream datastream ) : void

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, DcmDataset dataset ) : void

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, Stream datastream ) : void

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.

SendCStoreResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedInstance, DcmStatus status ) : void
SendNActionRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, ushort actionTypeID, DcmDataset dataset ) : void
SendNActionResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort actionTypeID, DcmDataset dataset, DcmStatus status ) : void
SendNCreateRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset ) : void
SendNCreateResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
SendNDeleteRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance ) : void
SendNDeleteResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmStatus status ) : void
SendNEventReportRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset ) : void
SendNEventReportResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset, DcmStatus status ) : void
SendNGetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, Dicom.Data.DicomTag attributes ) : void
SendNGetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
SendNSetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, DcmDataset dataset ) : void
SendNSetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
SendReleaseRequest ( ) : void

The graceful release of an association between two AEs shall be performed through ACSE A-RELEASE request, indication, response, and confirmation primitives. The initiator of the service is hereafter called a requestor and the service-user which receives the A-RELEASE indication is hereafter called the acceptor. It shall be a confirmed service.

SendReleaseResponse ( ) : void

The graceful release of an association between two AEs shall be performed through ACSE A-RELEASE request, indication, response, and confirmation primitives. The initiator of the service is hereafter called a requestor and the service-user which receives the A-RELEASE indication is hereafter called the acceptor. It shall be a confirmed service.

ShutdownNetwork ( ) : void

Private Methods

Méthode Description
Connect ( ) : void
CreateRequest ( ushort messageID, DcmCommandField commandField, DicomUID affectedClass, DcmPriority priority, bool hasDataset ) : DcmCommand
CreateResponse ( ushort messageIdRespondedTo, DcmCommandField commandField, DicomUID affectedClass, DcmStatus status, bool hasDataset ) : DcmCommand
Process ( ) : void
ProcessDimse ( byte presentationID ) : bool
ProcessNextPDU ( ) : bool
ProcessPDataTF ( PDataTF pdu ) : bool
SaveDimseToFile ( DcmDimseInfo dimse, byte pcid, string fileName ) : void
SendDimse ( byte pcid, DcmCommand command, DcmDataset dataset ) : bool
SendDimseStream ( byte pcid, DcmCommand command, Stream datastream ) : bool
SendRawPDU ( RawPDU pdu ) : void

Method Details

Connect() public méthode

public Connect ( string host, int port, DcmSocketType type ) : void
host string
port int
type DcmSocketType
Résultat void

DcmNetworkBase() public méthode

public DcmNetworkBase ( ) : System
Résultat System

InitializeNetwork() protected méthode

protected InitializeNetwork ( DcmSocket socket ) : void
socket DcmSocket
Résultat void

NextMessageID() protected méthode

protected NextMessageID ( ) : ushort
Résultat ushort

OnConnected() protected méthode

protected OnConnected ( ) : void
Résultat void

OnConnectionClosed() protected méthode

protected OnConnectionClosed ( ) : void
Résultat void

OnDimseTimeout() protected méthode

protected OnDimseTimeout ( ) : void
Résultat void

OnInitializeNetwork() protected méthode

protected OnInitializeNetwork ( ) : void
Résultat void

OnNetworkError() protected méthode

protected OnNetworkError ( Exception e ) : void
e System.Exception
Résultat void

OnPostReceiveCStoreRequest() protected méthode

protected OnPostReceiveCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmDataset dataset, string fileName ) : void
presentationID byte
messageID ushort
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
fileName string
Résultat void

OnPreReceiveCStoreRequest() protected méthode

protected OnPreReceiveCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, string &fileName ) : void
presentationID byte
messageID ushort
affectedInstance Dicom.Data.DicomUID
priority DcmPriority
moveAE string
moveMessageID ushort
fileName string
Résultat void

OnReceiveAbort() protected méthode

protected OnReceiveAbort ( DcmAbortSource source, DcmAbortReason reason ) : void
source DcmAbortSource
reason DcmAbortReason
Résultat void

OnReceiveAssociateAccept() protected méthode

protected OnReceiveAssociateAccept ( DcmAssociate association ) : void
association DcmAssociate
Résultat void

OnReceiveAssociateReject() protected méthode

protected OnReceiveAssociateReject ( DcmRejectResult result, DcmRejectSource source, DcmRejectReason reason ) : void
result DcmRejectResult
source DcmRejectSource
reason DcmRejectReason
Résultat void

OnReceiveAssociateRequest() protected méthode

protected OnReceiveAssociateRequest ( DcmAssociate association ) : void
association DcmAssociate
Résultat void

OnReceiveCCancelRequest() protected méthode

protected OnReceiveCCancelRequest ( byte presentationID, ushort messageIdRespondedTo ) : void
presentationID byte
messageIdRespondedTo ushort
Résultat void

OnReceiveCEchoRequest() protected méthode

protected OnReceiveCEchoRequest ( byte presentationID, ushort messageID, DcmPriority priority ) : void
presentationID byte
messageID ushort
priority DcmPriority
Résultat void

OnReceiveCEchoResponse() protected méthode

protected OnReceiveCEchoResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
Résultat void

OnReceiveCFindRequest() protected méthode

protected OnReceiveCFindRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
presentationID byte
messageID ushort
priority DcmPriority
dataset Dicom.Data.DcmDataset
Résultat void

OnReceiveCFindResponse() protected méthode

protected OnReceiveCFindResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

OnReceiveCGetRequest() protected méthode

protected OnReceiveCGetRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
presentationID byte
messageID ushort
priority DcmPriority
dataset Dicom.Data.DcmDataset
Résultat void

OnReceiveCGetResponse() protected méthode

protected OnReceiveCGetResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
presentationID byte
messageIdRespondedTo ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
remain ushort
complete ushort
warning ushort
failure ushort
Résultat void

OnReceiveCMoveRequest() protected méthode

protected OnReceiveCMoveRequest ( byte presentationID, ushort messageID, string destinationAE, DcmPriority priority, DcmDataset dataset ) : void
presentationID byte
messageID ushort
destinationAE string
priority DcmPriority
dataset Dicom.Data.DcmDataset
Résultat void

OnReceiveCMoveResponse() protected méthode

protected OnReceiveCMoveResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
presentationID byte
messageIdRespondedTo ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
remain ushort
complete ushort
warning ushort
failure ushort
Résultat void

OnReceiveCStoreRequest() protected méthode

protected OnReceiveCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, DcmDataset dataset, string fileName ) : void
presentationID byte
messageID ushort
affectedInstance Dicom.Data.DicomUID
priority DcmPriority
moveAE string
moveMessageID ushort
dataset Dicom.Data.DcmDataset
fileName string
Résultat void

OnReceiveCStoreResponse() protected méthode

protected OnReceiveCStoreResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedInstance, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedInstance Dicom.Data.DicomUID
status DcmStatus
Résultat void

OnReceiveDimse() protected méthode

protected OnReceiveDimse ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
pcid byte
command DcmCommand
dataset Dicom.Data.DcmDataset
progress DcmDimseProgress
Résultat void

OnReceiveDimseBegin() protected méthode

protected OnReceiveDimseBegin ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
pcid byte
command DcmCommand
dataset Dicom.Data.DcmDataset
progress DcmDimseProgress
Résultat void

OnReceiveDimseProgress() protected méthode

protected OnReceiveDimseProgress ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
pcid byte
command DcmCommand
dataset Dicom.Data.DcmDataset
progress DcmDimseProgress
Résultat void

OnReceiveNActionRequest() protected méthode

protected OnReceiveNActionRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, ushort actionTypeID, DcmDataset dataset ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
actionTypeID ushort
dataset Dicom.Data.DcmDataset
Résultat void

OnReceiveNActionResponse() protected méthode

protected OnReceiveNActionResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort actionTypeID, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
actionTypeID ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

OnReceiveNCreateRequest() protected méthode

protected OnReceiveNCreateRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset ) : void
presentationID byte
messageID ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
Résultat void

OnReceiveNCreateResponse() protected méthode

protected OnReceiveNCreateResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

OnReceiveNDeleteRequest() protected méthode

protected OnReceiveNDeleteRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
Résultat void

OnReceiveNDeleteResponse() protected méthode

protected OnReceiveNDeleteResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
status DcmStatus
Résultat void

OnReceiveNEventReportRequest() protected méthode

protected OnReceiveNEventReportRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset ) : void
presentationID byte
messageID ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
eventTypeID ushort
dataset Dicom.Data.DcmDataset
Résultat void

OnReceiveNEventReportResponse() protected méthode

protected OnReceiveNEventReportResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
eventTypeID ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

OnReceiveNGetRequest() protected méthode

protected OnReceiveNGetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, Dicom.Data.DicomTag attributes ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
attributes Dicom.Data.DicomTag
Résultat void

OnReceiveNGetResponse() protected méthode

protected OnReceiveNGetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

OnReceiveNSetRequest() protected méthode

protected OnReceiveNSetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, DcmDataset dataset ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
Résultat void

OnReceiveNSetResponse() protected méthode

protected OnReceiveNSetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

OnReceiveReleaseRequest() protected méthode

protected OnReceiveReleaseRequest ( ) : void
Résultat void

OnReceiveReleaseResponse() protected méthode

protected OnReceiveReleaseResponse ( ) : void
Résultat void

OnSendDimse() protected méthode

protected OnSendDimse ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
pcid byte
command DcmCommand
dataset Dicom.Data.DcmDataset
progress DcmDimseProgress
Résultat void

OnSendDimseBegin() protected méthode

protected OnSendDimseBegin ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
pcid byte
command DcmCommand
dataset Dicom.Data.DcmDataset
progress DcmDimseProgress
Résultat void

OnSendDimseProgress() protected méthode

protected OnSendDimseProgress ( byte pcid, DcmCommand command, DcmDataset dataset, DcmDimseProgress progress ) : void
pcid byte
command DcmCommand
dataset Dicom.Data.DcmDataset
progress DcmDimseProgress
Résultat void

Reconnect() protected méthode

protected Reconnect ( ) : void
Résultat void

SendAbort() protected méthode

The ACSE A-ABORT service shall be used by a requestor in either of the AEs to cause the abnormal release of the association. It shall be a non-confirmed service. However, because of the possibility of an A-ABORT service procedure collision, the delivery of the indication primitive is not guaranteed. Should such a collision occur, both AEs are aware that the association has been terminated. The abort shall be performed through A-ABORT request and A-ABORT indication primitives.
protected SendAbort ( DcmAbortSource source, DcmAbortReason reason ) : void
source DcmAbortSource
reason DcmAbortReason
Résultat void

SendAssociateAccept() protected méthode

The called AE shall accept or reject the association by sending an A-ASSOCIATE response primitive with an appropriate Result parameter. The Upper layer service-provider shall issue an A-ASSOCIATE confirmation primitive having the same Result parameter. The Result Source parameter shall be assigned the symbolic value of “UL service-user.”
protected SendAssociateAccept ( DcmAssociate associate ) : void
associate DcmAssociate
Résultat void

SendAssociateReject() protected méthode

The UL service-provider may not be capable of supporting the requested association. In this situation, it shall return an A-ASSOCIATE confirmation primitive to the requestor with an appropriate Result parameter (rejected). The Result Source parameter shall be appropriately assigned either the symbolic value of “UL service-provider (ACSE related function)” or “UL service-provider (Presentation related function).” The indication primitive shall not be issued. The association shall not be established.
protected SendAssociateReject ( DcmRejectResult result, DcmRejectSource source, DcmRejectReason reason ) : void
result DcmRejectResult
source DcmRejectSource
reason DcmRejectReason
Résultat void

SendAssociateRequest() protected méthode

A DICOM Application Entity (which includes the Upper Layer service-user) that desires to establish an association shall issue an A-ASSOCIATE request primitive. The called AE is identified by parameters of the request primitive. The requestor shall not issue any primitives except an A-ABORT request primitive until it receives an A-ASSOCIATE confirmation primitive.
protected SendAssociateRequest ( DcmAssociate associate ) : void
associate DcmAssociate
Résultat void

SendCCancelRequest() protected méthode

protected SendCCancelRequest ( byte presentationID, ushort messageIdRespondedTo ) : void
presentationID byte
messageIdRespondedTo ushort
Résultat void

SendCEchoRequest() protected méthode

protected SendCEchoRequest ( byte presentationID, ushort messageID, DcmPriority priority ) : void
presentationID byte
messageID ushort
priority DcmPriority
Résultat void

SendCEchoResponse() protected méthode

protected SendCEchoResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
Résultat void

SendCFindRequest() protected méthode

protected SendCFindRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
presentationID byte
messageID ushort
priority DcmPriority
dataset Dicom.Data.DcmDataset
Résultat void

SendCFindResponse() protected méthode

protected SendCFindResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

SendCFindResponse() protected méthode

protected SendCFindResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
Résultat void

SendCGetRequest() protected méthode

protected SendCGetRequest ( byte presentationID, ushort messageID, DcmPriority priority, DcmDataset dataset ) : void
presentationID byte
messageID ushort
priority DcmPriority
dataset Dicom.Data.DcmDataset
Résultat void

SendCGetResponse() protected méthode

protected SendCGetResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
presentationID byte
messageIdRespondedTo ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
remain ushort
complete ushort
warning ushort
failure ushort
Résultat void

SendCGetResponse() protected méthode

protected SendCGetResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
remain ushort
complete ushort
warning ushort
failure ushort
Résultat void

SendCMoveRequest() protected méthode

protected SendCMoveRequest ( byte presentationID, ushort messageID, string destinationAE, DcmPriority priority, DcmDataset dataset ) : void
presentationID byte
messageID ushort
destinationAE string
priority DcmPriority
dataset Dicom.Data.DcmDataset
Résultat void

SendCMoveResponse() protected méthode

protected SendCMoveResponse ( byte presentationID, ushort messageIdRespondedTo, DcmDataset dataset, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
presentationID byte
messageIdRespondedTo ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
remain ushort
complete ushort
warning ushort
failure ushort
Résultat void

SendCMoveResponse() protected méthode

protected SendCMoveResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status, ushort remain, ushort complete, ushort warning, ushort failure ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
remain ushort
complete ushort
warning ushort
failure ushort
Résultat void

SendCStoreRequest() protected méthode

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.
protected SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, DcmDataset dataset ) : void
presentationID byte The Presentation Context ID identifies the /// Presentation Context within the scope of a specific Association.
messageID ushort This parameter identifies the operation. It is used /// to distinguish this operation from other notifications or operations that /// the DIMSE-service-provider may have in progress. No two identical values /// for the Message ID (0000,0110) shall be used for outstanding operations or /// notifications.
affectedInstance Dicom.Data.DicomUID For the request/indication, this parameter /// specifies the SOP Instance to be stored. It may be included in the /// response/confirmation. If included in the response/confirmation, this /// parameter shall be equal to the value in the request/indication.
priority DcmPriority This parameter specifies the priority of the /// C-STORE operation. It shall be one of LOW, MEDIUM, or HIGH.
dataset Dicom.Data.DcmDataset The Data Set accompanying the C-STORE primitive /// contains the Attributes of the Composite SOP Instance to be stored.
Résultat void

SendCStoreRequest() protected méthode

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.
protected SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, Stream datastream ) : void
presentationID byte The Presentation Context ID identifies the /// Presentation Context within the scope of a specific Association.
messageID ushort This parameter identifies the operation. It is used /// to distinguish this operation from other notifications or operations that /// the DIMSE-service-provider may have in progress. No two identical values /// for the Message ID (0000,0110) shall be used for outstanding operations or /// notifications.
affectedInstance Dicom.Data.DicomUID For the request/indication, this parameter /// specifies the SOP Instance to be stored. It may be included in the /// response/confirmation. If included in the response/confirmation, this /// parameter shall be equal to the value in the request/indication.
priority DcmPriority This parameter specifies the priority of the /// C-STORE operation. It shall be one of LOW, MEDIUM, or HIGH.
datastream Stream The Data Set accompanying the C-STORE primitive /// contains the Attributes of the Composite SOP Instance to be stored.
Résultat void

SendCStoreRequest() protected méthode

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.
protected SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, DcmDataset dataset ) : void
presentationID byte The Presentation Context ID identifies the /// Presentation Context within the scope of a specific Association.
messageID ushort This parameter identifies the operation. It is used /// to distinguish this operation from other notifications or operations that /// the DIMSE-service-provider may have in progress. No two identical values /// for the Message ID (0000,0110) shall be used for outstanding operations or /// notifications.
affectedInstance Dicom.Data.DicomUID For the request/indication, this parameter /// specifies the SOP Instance to be stored. It may be included in the /// response/confirmation. If included in the response/confirmation, this /// parameter shall be equal to the value in the request/indication.
priority DcmPriority This parameter specifies the priority of the /// C-STORE operation. It shall be one of LOW, MEDIUM, or HIGH.
moveAE string This parameter specifies the DICOM AE Title of the /// DICOM AE which invoked the C-MOVE operation from which this C-STORE /// sub-operation is being performed.
moveMessageID ushort This parameter specifies the Message ID (0000,0110) /// of the C-MOVE request/indication primitive from which this C-STORE /// sub-operation is being performed.
dataset Dicom.Data.DcmDataset The Data Set accompanying the C-STORE primitive /// contains the Attributes of the Composite SOP Instance to be stored.
Résultat void

SendCStoreRequest() protected méthode

The C-STORE service is used by a DIMSE-service-user to store a composite SOP Instance on a peer DIMSE-service-user. It is a confirmed service.
protected SendCStoreRequest ( byte presentationID, ushort messageID, DicomUID affectedInstance, DcmPriority priority, string moveAE, ushort moveMessageID, Stream datastream ) : void
presentationID byte The Presentation Context ID identifies the /// Presentation Context within the scope of a specific Association.
messageID ushort This parameter identifies the operation. It is used /// to distinguish this operation from other notifications or operations that /// the DIMSE-service-provider may have in progress. No two identical values /// for the Message ID (0000,0110) shall be used for outstanding operations or /// notifications.
affectedInstance Dicom.Data.DicomUID For the request/indication, this parameter /// specifies the SOP Instance to be stored. It may be included in the /// response/confirmation. If included in the response/confirmation, this /// parameter shall be equal to the value in the request/indication.
priority DcmPriority This parameter specifies the priority of the /// C-STORE operation. It shall be one of LOW, MEDIUM, or HIGH.
moveAE string This parameter specifies the DICOM AE Title of the /// DICOM AE which invoked the C-MOVE operation from which this C-STORE /// sub-operation is being performed.
moveMessageID ushort This parameter specifies the Message ID (0000,0110) /// of the C-MOVE request/indication primitive from which this C-STORE /// sub-operation is being performed.
datastream Stream The Data Set accompanying the C-STORE primitive /// contains the Attributes of the Composite SOP Instance to be stored.
Résultat void

SendCStoreResponse() protected méthode

protected SendCStoreResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedInstance, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedInstance Dicom.Data.DicomUID
status DcmStatus
Résultat void

SendNActionRequest() protected méthode

protected SendNActionRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, ushort actionTypeID, DcmDataset dataset ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
actionTypeID ushort
dataset Dicom.Data.DcmDataset
Résultat void

SendNActionResponse() protected méthode

protected SendNActionResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort actionTypeID, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
actionTypeID ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

SendNCreateRequest() protected méthode

protected SendNCreateRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset ) : void
presentationID byte
messageID ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
Résultat void

SendNCreateResponse() protected méthode

protected SendNCreateResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

SendNDeleteRequest() protected méthode

protected SendNDeleteRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
Résultat void

SendNDeleteResponse() protected méthode

protected SendNDeleteResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
status DcmStatus
Résultat void

SendNEventReportRequest() protected méthode

protected SendNEventReportRequest ( byte presentationID, ushort messageID, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset ) : void
presentationID byte
messageID ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
eventTypeID ushort
dataset Dicom.Data.DcmDataset
Résultat void

SendNEventReportResponse() protected méthode

protected SendNEventReportResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, ushort eventTypeID, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
eventTypeID ushort
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

SendNGetRequest() protected méthode

protected SendNGetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, Dicom.Data.DicomTag attributes ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
attributes Dicom.Data.DicomTag
Résultat void

SendNGetResponse() protected méthode

protected SendNGetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

SendNSetRequest() protected méthode

protected SendNSetRequest ( byte presentationID, ushort messageID, DicomUID requestedClass, DicomUID requestedInstance, DcmDataset dataset ) : void
presentationID byte
messageID ushort
requestedClass Dicom.Data.DicomUID
requestedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
Résultat void

SendNSetResponse() protected méthode

protected SendNSetResponse ( byte presentationID, ushort messageIdRespondedTo, DicomUID affectedClass, DicomUID affectedInstance, DcmDataset dataset, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
affectedClass Dicom.Data.DicomUID
affectedInstance Dicom.Data.DicomUID
dataset Dicom.Data.DcmDataset
status DcmStatus
Résultat void

SendReleaseRequest() protected méthode

The graceful release of an association between two AEs shall be performed through ACSE A-RELEASE request, indication, response, and confirmation primitives. The initiator of the service is hereafter called a requestor and the service-user which receives the A-RELEASE indication is hereafter called the acceptor. It shall be a confirmed service.
protected SendReleaseRequest ( ) : void
Résultat void

SendReleaseResponse() protected méthode

The graceful release of an association between two AEs shall be performed through ACSE A-RELEASE request, indication, response, and confirmation primitives. The initiator of the service is hereafter called a requestor and the service-user which receives the A-RELEASE indication is hereafter called the acceptor. It shall be a confirmed service.
protected SendReleaseResponse ( ) : void
Résultat void

ShutdownNetwork() protected méthode

protected ShutdownNetwork ( ) : void
Résultat void