C# Class Dicom.Network.DcmNetworkBase

Show file Open project: fo-dicom/mdcm

Public Methods

Method Description
Connect ( string host, int port, DcmSocketType type ) : void
DcmNetworkBase ( ) : System

Protected Methods

Method 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

Method 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 method

public Connect ( string host, int port, DcmSocketType type ) : void
host string
port int
type DcmSocketType
return void

DcmNetworkBase() public method

public DcmNetworkBase ( ) : System
return System

InitializeNetwork() protected method

protected InitializeNetwork ( DcmSocket socket ) : void
socket DcmSocket
return void

NextMessageID() protected method

protected NextMessageID ( ) : ushort
return ushort

OnConnected() protected method

protected OnConnected ( ) : void
return void

OnConnectionClosed() protected method

protected OnConnectionClosed ( ) : void
return void

OnDimseTimeout() protected method

protected OnDimseTimeout ( ) : void
return void

OnInitializeNetwork() protected method

protected OnInitializeNetwork ( ) : void
return void

OnNetworkError() protected method

protected OnNetworkError ( Exception e ) : void
e System.Exception
return void

OnPostReceiveCStoreRequest() protected method

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
return void

OnPreReceiveCStoreRequest() protected method

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
return void

OnReceiveAbort() protected method

protected OnReceiveAbort ( DcmAbortSource source, DcmAbortReason reason ) : void
source DcmAbortSource
reason DcmAbortReason
return void

OnReceiveAssociateAccept() protected method

protected OnReceiveAssociateAccept ( DcmAssociate association ) : void
association DcmAssociate
return void

OnReceiveAssociateReject() protected method

protected OnReceiveAssociateReject ( DcmRejectResult result, DcmRejectSource source, DcmRejectReason reason ) : void
result DcmRejectResult
source DcmRejectSource
reason DcmRejectReason
return void

OnReceiveAssociateRequest() protected method

protected OnReceiveAssociateRequest ( DcmAssociate association ) : void
association DcmAssociate
return void

OnReceiveCCancelRequest() protected method

protected OnReceiveCCancelRequest ( byte presentationID, ushort messageIdRespondedTo ) : void
presentationID byte
messageIdRespondedTo ushort
return void

OnReceiveCEchoRequest() protected method

protected OnReceiveCEchoRequest ( byte presentationID, ushort messageID, DcmPriority priority ) : void
presentationID byte
messageID ushort
priority DcmPriority
return void

OnReceiveCEchoResponse() protected method

protected OnReceiveCEchoResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
return void

OnReceiveCFindRequest() protected method

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

OnReceiveCFindResponse() protected method

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

OnReceiveCGetRequest() protected method

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

OnReceiveCGetResponse() protected method

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
return void

OnReceiveCMoveRequest() protected method

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
return void

OnReceiveCMoveResponse() protected method

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
return void

OnReceiveCStoreRequest() protected method

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
return void

OnReceiveCStoreResponse() protected method

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

OnReceiveDimse() protected method

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

OnReceiveDimseBegin() protected method

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

OnReceiveDimseProgress() protected method

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

OnReceiveNActionRequest() protected method

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
return void

OnReceiveNActionResponse() protected method

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
return void

OnReceiveNCreateRequest() protected method

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
return void

OnReceiveNCreateResponse() protected method

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
return void

OnReceiveNDeleteRequest() protected method

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

OnReceiveNDeleteResponse() protected method

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
return void

OnReceiveNEventReportRequest() protected method

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
return void

OnReceiveNEventReportResponse() protected method

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
return void

OnReceiveNGetRequest() protected method

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
return void

OnReceiveNGetResponse() protected method

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
return void

OnReceiveNSetRequest() protected method

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
return void

OnReceiveNSetResponse() protected method

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
return void

OnReceiveReleaseRequest() protected method

protected OnReceiveReleaseRequest ( ) : void
return void

OnReceiveReleaseResponse() protected method

protected OnReceiveReleaseResponse ( ) : void
return void

OnSendDimse() protected method

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

OnSendDimseBegin() protected method

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

OnSendDimseProgress() protected method

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

Reconnect() protected method

protected Reconnect ( ) : void
return void

SendAbort() protected method

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
return void

SendAssociateAccept() protected method

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
return void

SendAssociateReject() protected method

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
return void

SendAssociateRequest() protected method

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
return void

SendCCancelRequest() protected method

protected SendCCancelRequest ( byte presentationID, ushort messageIdRespondedTo ) : void
presentationID byte
messageIdRespondedTo ushort
return void

SendCEchoRequest() protected method

protected SendCEchoRequest ( byte presentationID, ushort messageID, DcmPriority priority ) : void
presentationID byte
messageID ushort
priority DcmPriority
return void

SendCEchoResponse() protected method

protected SendCEchoResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
return void

SendCFindRequest() protected method

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

SendCFindResponse() protected method

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

SendCFindResponse() protected method

protected SendCFindResponse ( byte presentationID, ushort messageIdRespondedTo, DcmStatus status ) : void
presentationID byte
messageIdRespondedTo ushort
status DcmStatus
return void

SendCGetRequest() protected method

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

SendCGetResponse() protected method

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
return void

SendCGetResponse() protected method

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
return void

SendCMoveRequest() protected method

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
return void

SendCMoveResponse() protected method

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
return void

SendCMoveResponse() protected method

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
return void

SendCStoreRequest() protected method

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.
return void

SendCStoreRequest() protected method

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.
return void

SendCStoreRequest() protected method

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.
return void

SendCStoreRequest() protected method

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.
return void

SendCStoreResponse() protected method

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

SendNActionRequest() protected method

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
return void

SendNActionResponse() protected method

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
return void

SendNCreateRequest() protected method

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
return void

SendNCreateResponse() protected method

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
return void

SendNDeleteRequest() protected method

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

SendNDeleteResponse() protected method

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
return void

SendNEventReportRequest() protected method

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
return void

SendNEventReportResponse() protected method

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
return void

SendNGetRequest() protected method

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
return void

SendNGetResponse() protected method

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
return void

SendNSetRequest() protected method

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
return void

SendNSetResponse() protected method

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
return void

SendReleaseRequest() protected method

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
return void

SendReleaseResponse() protected method

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
return void

ShutdownNetwork() protected method

protected ShutdownNetwork ( ) : void
return void