C# 클래스 ClearCanvas.Dicom.Network.NetworkBase

Class used for DICOM network communications.
The classes DicomClient"/> and DicomServer inherit from this class, to implement network functionality.
파일 보기 프로젝트 열기: jasper-yeh/ClearCanvas 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_assoc ClearCanvas.Dicom.Network.AssociationParameters

공개 메소드들

메소드 설명
Abort ( ) : void

Force a shutdown of the DICOM connection.

This routine will force the network connection for the DicomClient or DicomServerto be closed and the background thread for processing the association to shutdown. The routine will block until the shutdown has completed.

Note, for a graceful shutdown the SendAssociateAbort or SendReleaseRequest methods should be called. These routines will gracefully shutdown DICOM connections. The DicomClient.Join() method can then be called to wait for the background thread to clean up.

Abort ( int millisecondTimeout ) : void

Force a shutdown of the DICOM connection.

This routine will force the network connection for the DicomClient or DicomServerto be closed and the background thread for processing the association to shutdown. The routine will block for the number of milliseconds specified by .

Note, for a graceful shutdown the SendAssociateAbort or SendReleaseRequest methods should be called. These routines will gracefully shutdown DICOM connections. The DicomClient.Join() method can then be called to wait for the background thread to clean up.

NextMessageID ( ) : ushort

Returns the next message Id to be used over the association.

SendAssociateAbort ( DicomAbortSource source, DicomAbortReason reason ) : void

Method to send an association abort PDU.

SendAssociateAccept ( ClearCanvas.Dicom.Network.AssociationParameters associate ) : void

Method to send an association accept.

SendAssociateReject ( DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason ) : void

Method to send an association rejection.

SendAssociateRequest ( ClearCanvas.Dicom.Network.AssociationParameters associate ) : void

Method used to send an association request.

SendCEchoRequest ( byte presentationID, ushort messageID ) : void

Method to send a DICOM C-ECHO-RQ message.

SendCEchoResponse ( byte presentationID, ushort messageID, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Method to send a DICOM C-ECHO-RSP message.

SendCFindCancelRequest ( byte presentationId, ushort messageId ) : void

Method to send a DICOM C-CANCEL-FIND-RQ message.

SendCFindRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void

Method to send a DICOM C-FIND-RQ message.

SendCFindResponse ( byte presentationId, ushort messageId, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Method to send a DICOM C-FIND-RSP message.

SendCMoveCancelRequest ( byte presentationID, ushort messageID ) : void

Method to send a DICOM C-CANCEL-MOVE-RQ message.

SendCMoveRequest ( byte presentationId, ushort messageId, string destinationAE, DicomMessage message ) : void

Method to send a DICOM C-MOVE-RQ message.

SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Method to send a DICOM C-MOVE-RSP message.

SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status, string errorComment ) : void

Method to send a DICOM C-MOVE-RSP message.

SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status, ushort numberOfCompletedSubOperations, ushort numberOfRemainingSubOperations, ushort numberOfFailedSubOperations, ushort numberOfWarningSubOperations ) : void

Method to send a DICOM C-MOVE-RSP message.

SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status, ushort numberOfCompletedSubOperations, ushort numberOfRemainingSubOperations, ushort numberOfFailedSubOperations, ushort numberOfWarningSubOperations, string errorComment ) : void

Method to send a DICOM C-MOVE-RSP message.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, DicomMessage message ) : void

Method to send a DICOM C-STORE-RQ message.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, DicomMessage message, ClearCanvas.Dicom.Codec.DicomCodecParameters overrideParameters ) : void

Method to send a DICOM C-STORE-RQ message.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, string moveAE, ushort moveMessageID, DicomMessage message ) : void

Method to send a DICOM C-STORE-RQ message.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, string moveAE, ushort moveMessageID, DicomMessage message, ClearCanvas.Dicom.Codec.DicomCodecParameters overrideParameters ) : void

Method to send a DICOM C-STORE-RQ message.

SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, string moveAE, ushort moveMessageID, string sopInstanceUid, string sopClassUid, Stream dataSetStream ) : void

Method to send a DICOM C-STORE-RQ message.

SendCStoreResponse ( byte presentationID, ushort messageID, string affectedInstance, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Method to send a DICOM C-STORE-RSP message.

SendCStoreResponse ( byte presentationID, ushort messageID, string affectedInstance, ClearCanvas.Dicom.Network.DicomStatus status, string errorComment ) : void

Method to send a DICOM C-STORE-RSP message.

SendNActionRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void

Sends an N-Action request.

SendNActionResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Sends an N-Action Response.

SendNCreateRequest ( DicomUid affectedSopInstanceUid, byte presentationID, ushort messageID, DicomMessage message ) : void

Sends an N-Create request, affected class is the one associated with the presentationID.

SendNCreateRequest ( DicomUid affectedSopInstanceUid, byte presentationID, ushort messageID, DicomMessage message, DicomUid affectedClass ) : void

Sends an N-Create Request.

SendNCreateResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Sends an N-Create Response.

SendNDeleteRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void

Sends an N-Delete Request.

SendNDeleteResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Sends an N-Delete Response.

SendNEventReportResponse ( byte presentationID, DicomMessage requestMessage, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Sends an N-Event-Report Response.

SendNGetRequest ( DicomUid requestedSopInstanceUid, byte presentationID, ushort messageID, DicomMessage message ) : void

Sends an N-Get request.

SendNSetRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void

Sends an N-Set request.

SendNSetResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Sends an N-Set Response.

SendReleaseRequest ( ) : void

Method to send an association release request. this method can only be used by clients.

보호된 메소드들

메소드 설명
CloseNetwork ( int millisecondsTimeout ) : void

Method for closing the network connection.

GetDimseTimeout ( ) : System.DateTime

Return a synchronized version of time for the Dimse Timeout

InitializeNetwork ( Stream network, String name ) : void
InitializeNetwork ( Stream network, String name, bool multiThreaded ) : void
NetworkBase ( ) : System
NetworkHasData ( ) : bool
OnDimseSent ( byte pcid, DicomAttributeCollection command, DicomAttributeCollection dataset ) : void
OnDimseTimeout ( ) : void

Callback called on a timeout.

OnNetworkError ( Exception e, bool closeConnection ) : void

Callback called on a network error.

OnReceiveAbort ( DicomAbortSource source, DicomAbortReason reason ) : void
OnReceiveAssociateAccept ( ClearCanvas.Dicom.Network.AssociationParameters association ) : void
OnReceiveAssociateReject ( DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason ) : void
OnReceiveAssociateRequest ( ClearCanvas.Dicom.Network.ServerAssociationParameters association ) : void
OnReceiveDimseCommand ( byte pcid, DicomAttributeCollection command ) : void
OnReceiveDimseRequest ( byte pcid, DicomMessage msg ) : void
OnReceiveDimseResponse ( byte pcid, DicomMessage msg ) : void
OnReceiveFileStream ( byte pcid, DicomAttributeCollection command, DicomAttributeCollection dataset, byte data, int offset, int count, bool encounteredStopTag, bool isFirst, bool isLast ) : bool
OnReceiveReleaseRequest ( ) : void
OnReceiveReleaseResponse ( ) : void
OnUserException ( Exception e, String description ) : void
ResetDimseTimeout ( ) : void

Method called after network activity to reset the time when a DIMSE timeout will occur.

SendReleaseResponse ( ) : void

Method to send an association release response.

ShutdownNetworkThread ( int millisecondsTimeout ) : void

Method for shutting down the network thread. Should only be called from the CloseNetwork() routine.

비공개 메소드들

메소드 설명
CreateFileHeader ( byte pcid, DicomAttributeCollection command ) : byte[]
EnqueuePdu ( ClearCanvas.Dicom.Network.RawPDU pdu ) : void

Internal routine for enqueueing a PDU for transfer.

LogSendReceive ( bool receive, DicomAttributeCollection metaInfo, DicomAttributeCollection dataSet ) : void
OnReceiveDimse ( byte pcid, DicomAttributeCollection command, DicomAttributeCollection dataset ) : bool
ProcessNextPDU ( ) : bool
ProcessPDataTF ( ClearCanvas.Dicom.Network.PDataTFRead pdu ) : bool
ProcessRawPDU ( ClearCanvas.Dicom.Network.RawPDU raw ) : bool
RunProcess ( ) : void

Main processing routine for processing a network connection.

RunRead ( ) : void

Main processing routine for processing a network connection.

RunWrite ( ) : void

Main processing routine for processing a network connection.

SendDimse ( byte pcid, DicomAttributeCollection command, DicomAttributeCollection dataset ) : void

Method for sending a DIMSE mesage.

SendDimseDataSetStream ( byte pcid, DicomAttributeCollection command, Stream dataset ) : void

Method for sending a DIMSE mesage.

SendNCreateNSetNDeleteHelper ( DicomCommandField commandField, byte presentationId, ushort messageId, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void

Helper for sending N-Create, N-Set, and N-Delete Response messages.

SendRawPDU ( ClearCanvas.Dicom.Network.RawPDU pdu ) : void

메소드 상세

Abort() 공개 메소드

Force a shutdown of the DICOM connection.

This routine will force the network connection for the DicomClient or DicomServerto be closed and the background thread for processing the association to shutdown. The routine will block until the shutdown has completed.

Note, for a graceful shutdown the SendAssociateAbort or SendReleaseRequest methods should be called. These routines will gracefully shutdown DICOM connections. The DicomClient.Join() method can then be called to wait for the background thread to clean up.

public Abort ( ) : void
리턴 void

Abort() 공개 메소드

Force a shutdown of the DICOM connection.

This routine will force the network connection for the DicomClient or DicomServerto be closed and the background thread for processing the association to shutdown. The routine will block for the number of milliseconds specified by .

Note, for a graceful shutdown the SendAssociateAbort or SendReleaseRequest methods should be called. These routines will gracefully shutdown DICOM connections. The DicomClient.Join() method can then be called to wait for the background thread to clean up.

public Abort ( int millisecondTimeout ) : void
millisecondTimeout int
리턴 void

CloseNetwork() 보호된 추상적인 메소드

Method for closing the network connection.
protected abstract CloseNetwork ( int millisecondsTimeout ) : void
millisecondsTimeout int The timeout in milliseconds to wait for the closure /// of the network.
리턴 void

GetDimseTimeout() 보호된 메소드

Return a synchronized version of time for the Dimse Timeout
protected GetDimseTimeout ( ) : System.DateTime
리턴 System.DateTime

InitializeNetwork() 보호된 메소드

protected InitializeNetwork ( Stream network, String name ) : void
network Stream
name String
리턴 void

InitializeNetwork() 보호된 메소드

protected InitializeNetwork ( Stream network, String name, bool multiThreaded ) : void
network Stream
name String
multiThreaded bool
리턴 void

NetworkBase() 보호된 메소드

protected NetworkBase ( ) : System
리턴 System

NetworkHasData() 보호된 추상적인 메소드

protected abstract NetworkHasData ( ) : bool
리턴 bool

NextMessageID() 공개 메소드

Returns the next message Id to be used over the association.
public NextMessageID ( ) : ushort
리턴 ushort

OnDimseSent() 보호된 메소드

protected OnDimseSent ( byte pcid, DicomAttributeCollection command, DicomAttributeCollection dataset ) : void
pcid byte
command DicomAttributeCollection
dataset DicomAttributeCollection
리턴 void

OnDimseTimeout() 보호된 메소드

Callback called on a timeout.
protected OnDimseTimeout ( ) : void
리턴 void

OnNetworkError() 보호된 메소드

Callback called on a network error.
protected OnNetworkError ( Exception e, bool closeConnection ) : void
e System.Exception
closeConnection bool
리턴 void

OnReceiveAbort() 보호된 메소드

protected OnReceiveAbort ( DicomAbortSource source, DicomAbortReason reason ) : void
source DicomAbortSource
reason DicomAbortReason
리턴 void

OnReceiveAssociateAccept() 보호된 메소드

protected OnReceiveAssociateAccept ( ClearCanvas.Dicom.Network.AssociationParameters association ) : void
association ClearCanvas.Dicom.Network.AssociationParameters
리턴 void

OnReceiveAssociateReject() 보호된 메소드

protected OnReceiveAssociateReject ( DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason ) : void
result DicomRejectResult
source DicomRejectSource
reason DicomRejectReason
리턴 void

OnReceiveAssociateRequest() 보호된 메소드

protected OnReceiveAssociateRequest ( ClearCanvas.Dicom.Network.ServerAssociationParameters association ) : void
association ClearCanvas.Dicom.Network.ServerAssociationParameters
리턴 void

OnReceiveDimseCommand() 보호된 메소드

protected OnReceiveDimseCommand ( byte pcid, DicomAttributeCollection command ) : void
pcid byte
command DicomAttributeCollection
리턴 void

OnReceiveDimseRequest() 보호된 메소드

protected OnReceiveDimseRequest ( byte pcid, DicomMessage msg ) : void
pcid byte
msg DicomMessage
리턴 void

OnReceiveDimseResponse() 보호된 메소드

protected OnReceiveDimseResponse ( byte pcid, DicomMessage msg ) : void
pcid byte
msg DicomMessage
리턴 void

OnReceiveFileStream() 보호된 메소드

protected OnReceiveFileStream ( byte pcid, DicomAttributeCollection command, DicomAttributeCollection dataset, byte data, int offset, int count, bool encounteredStopTag, bool isFirst, bool isLast ) : bool
pcid byte
command DicomAttributeCollection
dataset DicomAttributeCollection
data byte
offset int
count int
encounteredStopTag bool
isFirst bool
isLast bool
리턴 bool

OnReceiveReleaseRequest() 보호된 메소드

protected OnReceiveReleaseRequest ( ) : void
리턴 void

OnReceiveReleaseResponse() 보호된 메소드

protected OnReceiveReleaseResponse ( ) : void
리턴 void

OnUserException() 보호된 메소드

protected OnUserException ( Exception e, String description ) : void
e System.Exception
description String
리턴 void

ResetDimseTimeout() 보호된 메소드

Method called after network activity to reset the time when a DIMSE timeout will occur.
protected ResetDimseTimeout ( ) : void
리턴 void

SendAssociateAbort() 공개 메소드

Method to send an association abort PDU.
public SendAssociateAbort ( DicomAbortSource source, DicomAbortReason reason ) : void
source DicomAbortSource The source of the abort.
reason DicomAbortReason The reason for the abort.
리턴 void

SendAssociateAccept() 공개 메소드

Method to send an association accept.
public SendAssociateAccept ( ClearCanvas.Dicom.Network.AssociationParameters associate ) : void
associate ClearCanvas.Dicom.Network.AssociationParameters The parameters to use for the association accept.
리턴 void

SendAssociateReject() 공개 메소드

Method to send an association rejection.
public SendAssociateReject ( DicomRejectResult result, DicomRejectSource source, DicomRejectReason reason ) : void
result DicomRejectResult The
source DicomRejectSource
reason DicomRejectReason
리턴 void

SendAssociateRequest() 공개 메소드

Method used to send an association request.
public SendAssociateRequest ( ClearCanvas.Dicom.Network.AssociationParameters associate ) : void
associate ClearCanvas.Dicom.Network.AssociationParameters The parameters used in the association request.
리턴 void

SendCEchoRequest() 공개 메소드

Method to send a DICOM C-ECHO-RQ message.
public SendCEchoRequest ( byte presentationID, ushort messageID ) : void
presentationID byte The presentation context to send the request on.
messageID ushort The messageID to use.
리턴 void

SendCEchoResponse() 공개 메소드

Method to send a DICOM C-ECHO-RSP message.
public SendCEchoResponse ( byte presentationID, ushort messageID, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte
messageID ushort
status ClearCanvas.Dicom.Network.DicomStatus
리턴 void

SendCFindCancelRequest() 공개 메소드

Method to send a DICOM C-CANCEL-FIND-RQ message.
public SendCFindCancelRequest ( byte presentationId, ushort messageId ) : void
presentationId byte
messageId ushort The message ID of the original C-FIND-RQ that is being canceled
리턴 void

SendCFindRequest() 공개 메소드

Method to send a DICOM C-FIND-RQ message.
public SendCFindRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void
presentationID byte
messageID ushort
message DicomMessage
리턴 void

SendCFindResponse() 공개 메소드

Method to send a DICOM C-FIND-RSP message.
public SendCFindResponse ( byte presentationId, ushort messageId, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationId byte
messageId ushort
message DicomMessage
status ClearCanvas.Dicom.Network.DicomStatus
리턴 void

SendCMoveCancelRequest() 공개 메소드

Method to send a DICOM C-CANCEL-MOVE-RQ message.
public SendCMoveCancelRequest ( byte presentationID, ushort messageID ) : void
presentationID byte
messageID ushort The message ID of the original C-MOVE-RQ that is being canceled
리턴 void

SendCMoveRequest() 공개 메소드

Method to send a DICOM C-MOVE-RQ message.
public SendCMoveRequest ( byte presentationId, ushort messageId, string destinationAE, DicomMessage message ) : void
presentationId byte
messageId ushort
destinationAE string
message DicomMessage
리턴 void

SendCMoveResponse() 공개 메소드

Method to send a DICOM C-MOVE-RSP message.
public SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte
messageID ushort
message DicomMessage
status ClearCanvas.Dicom.Network.DicomStatus
리턴 void

SendCMoveResponse() 공개 메소드

Method to send a DICOM C-MOVE-RSP message.
public SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status, string errorComment ) : void
presentationID byte
messageID ushort
message DicomMessage
status ClearCanvas.Dicom.Network.DicomStatus
errorComment string An extended textual error comment. The comment will be truncated to 64 characters.
리턴 void

SendCMoveResponse() 공개 메소드

Method to send a DICOM C-MOVE-RSP message.
public SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status, ushort numberOfCompletedSubOperations, ushort numberOfRemainingSubOperations, ushort numberOfFailedSubOperations, ushort numberOfWarningSubOperations ) : void
presentationID byte
messageID ushort
message DicomMessage
status ClearCanvas.Dicom.Network.DicomStatus
numberOfCompletedSubOperations ushort
numberOfRemainingSubOperations ushort
numberOfFailedSubOperations ushort
numberOfWarningSubOperations ushort
리턴 void

SendCMoveResponse() 공개 메소드

Method to send a DICOM C-MOVE-RSP message.
public SendCMoveResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status, ushort numberOfCompletedSubOperations, ushort numberOfRemainingSubOperations, ushort numberOfFailedSubOperations, ushort numberOfWarningSubOperations, string errorComment ) : void
presentationID byte
messageID ushort
message DicomMessage
status ClearCanvas.Dicom.Network.DicomStatus
numberOfCompletedSubOperations ushort
numberOfRemainingSubOperations ushort
numberOfFailedSubOperations ushort
numberOfWarningSubOperations ushort
errorComment string An extended textual error comment. The comment will be truncated to 64 characters.
리턴 void

SendCStoreRequest() 공개 메소드

Method to send a DICOM C-STORE-RQ message.
public SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, DicomMessage message ) : void
presentationID byte
messageID ushort
priority DicomPriority
message DicomMessage
리턴 void

SendCStoreRequest() 공개 메소드

Method to send a DICOM C-STORE-RQ message.
public SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, DicomMessage message, ClearCanvas.Dicom.Codec.DicomCodecParameters overrideParameters ) : void
presentationID byte
messageID ushort
priority DicomPriority
message DicomMessage
overrideParameters ClearCanvas.Dicom.Codec.DicomCodecParameters
리턴 void

SendCStoreRequest() 공개 메소드

Method to send a DICOM C-STORE-RQ message.
public SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, string moveAE, ushort moveMessageID, DicomMessage message ) : void
presentationID byte
messageID ushort
priority DicomPriority
moveAE string
moveMessageID ushort
message DicomMessage
리턴 void

SendCStoreRequest() 공개 메소드

Method to send a DICOM C-STORE-RQ message.
public SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, string moveAE, ushort moveMessageID, DicomMessage message, ClearCanvas.Dicom.Codec.DicomCodecParameters overrideParameters ) : void
presentationID byte
messageID ushort
priority DicomPriority
moveAE string
moveMessageID ushort
message DicomMessage
overrideParameters ClearCanvas.Dicom.Codec.DicomCodecParameters
리턴 void

SendCStoreRequest() 공개 메소드

Method to send a DICOM C-STORE-RQ message.
public SendCStoreRequest ( byte presentationID, ushort messageID, DicomPriority priority, string moveAE, ushort moveMessageID, string sopInstanceUid, string sopClassUid, Stream dataSetStream ) : void
presentationID byte
messageID ushort
priority DicomPriority
moveAE string
moveMessageID ushort
sopInstanceUid string
sopClassUid string
dataSetStream Stream
리턴 void

SendCStoreResponse() 공개 메소드

Method to send a DICOM C-STORE-RSP message.
public SendCStoreResponse ( byte presentationID, ushort messageID, string affectedInstance, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte
messageID ushort
affectedInstance string
status ClearCanvas.Dicom.Network.DicomStatus
리턴 void

SendCStoreResponse() 공개 메소드

Method to send a DICOM C-STORE-RSP message.
public SendCStoreResponse ( byte presentationID, ushort messageID, string affectedInstance, ClearCanvas.Dicom.Network.DicomStatus status, string errorComment ) : void
presentationID byte
messageID ushort
affectedInstance string
status ClearCanvas.Dicom.Network.DicomStatus
errorComment string An extended textual error comment on failure. The comment will be truncated to 64 characters.
리턴 void

SendNActionRequest() 공개 메소드

Sends an N-Action request.
public SendNActionRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void
presentationID byte The presentation ID to send the request message on.
messageID ushort The message ID.
message DicomMessage The message.
리턴 void

SendNActionResponse() 공개 메소드

Sends an N-Action Response.
public SendNActionResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte The presentation context ID to send the response message on.
messageID ushort The message ID of the message responding to.
message DicomMessage The response message to send.
status ClearCanvas.Dicom.Network.DicomStatus The status to set in the response message.
리턴 void

SendNCreateRequest() 공개 메소드

Sends an N-Create request, affected class is the one associated with the presentationID.
public SendNCreateRequest ( DicomUid affectedSopInstanceUid, byte presentationID, ushort messageID, DicomMessage message ) : void
affectedSopInstanceUid DicomUid The affected sop instance uid.
presentationID byte The presentation ID.
messageID ushort The message ID.
message DicomMessage The message.
리턴 void

SendNCreateRequest() 공개 메소드

Sends an N-Create Request.
public SendNCreateRequest ( DicomUid affectedSopInstanceUid, byte presentationID, ushort messageID, DicomMessage message, DicomUid affectedClass ) : void
affectedSopInstanceUid DicomUid The affected sop instance uid.
presentationID byte The presentation ID.
messageID ushort The message ID.
message DicomMessage The message.
affectedClass DicomUid The affected class.
리턴 void

SendNCreateResponse() 공개 메소드

Sends an N-Create Response.
public SendNCreateResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte The presentation context ID
messageID ushort The MessageID being responsed to.
message DicomMessage The response message to send.
status ClearCanvas.Dicom.Network.DicomStatus The status to send.
리턴 void

SendNDeleteRequest() 공개 메소드

Sends an N-Delete Request.
public SendNDeleteRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void
presentationID byte The presentation ID.
messageID ushort The message ID.
message DicomMessage The message.
리턴 void

SendNDeleteResponse() 공개 메소드

Sends an N-Delete Response.
public SendNDeleteResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte The presentation context ID to send the response message on.
messageID ushort The message ID of the request message being responded to.
message DicomMessage The response message to send.
status ClearCanvas.Dicom.Network.DicomStatus The status to send in the response message.
리턴 void

SendNEventReportResponse() 공개 메소드

Sends an N-Event-Report Response.
public SendNEventReportResponse ( byte presentationID, DicomMessage requestMessage, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte The presentation context ID
requestMessage DicomMessage The message being responsed to.
message DicomMessage The response message to send.
status ClearCanvas.Dicom.Network.DicomStatus The status to send.
리턴 void

SendNGetRequest() 공개 메소드

Sends an N-Get request.
public SendNGetRequest ( DicomUid requestedSopInstanceUid, byte presentationID, ushort messageID, DicomMessage message ) : void
requestedSopInstanceUid DicomUid The requested sop instance uid.
presentationID byte The presentation ID.
messageID ushort The message ID.
message DicomMessage The message.
리턴 void

SendNSetRequest() 공개 메소드

Sends an N-Set request.
public SendNSetRequest ( byte presentationID, ushort messageID, DicomMessage message ) : void
presentationID byte The presentation context ID to send the request over.
messageID ushort The message ID.
message DicomMessage The message.
리턴 void

SendNSetResponse() 공개 메소드

Sends an N-Set Response.
public SendNSetResponse ( byte presentationID, ushort messageID, DicomMessage message, ClearCanvas.Dicom.Network.DicomStatus status ) : void
presentationID byte The presentation context ID to send th response over.
messageID ushort The message ID.
message DicomMessage The response message to send.
status ClearCanvas.Dicom.Network.DicomStatus The status to set in the response message.
리턴 void

SendReleaseRequest() 공개 메소드

Method to send an association release request. this method can only be used by clients.
public SendReleaseRequest ( ) : void
리턴 void

SendReleaseResponse() 보호된 메소드

Method to send an association release response.
protected SendReleaseResponse ( ) : void
리턴 void

ShutdownNetworkThread() 보호된 메소드

Method for shutting down the network thread. Should only be called from the CloseNetwork() routine.
protected ShutdownNetworkThread ( int millisecondsTimeout ) : void
millisecondsTimeout int
리턴 void

프로퍼티 상세

_assoc 보호되어 있는 프로퍼티

protected AssociationParameters,ClearCanvas.Dicom.Network _assoc
리턴 ClearCanvas.Dicom.Network.AssociationParameters