C# Класс ClearCanvas.Dicom.Network.NetworkBase

Class used for DICOM network communications.
The classes DicomClient"/> and DicomServer inherit from this class, to implement network functionality.
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
_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