Sending Messages

LEADTOOLS provides many high-level methods for sending messages. These include the following:

SendAssociateRequest method

SendAssociateAccept method

SendAssociateReject method

SendReleaseRequest method

SendReleaseResponse method

SendAbort method

SendCStoreRequest method

SendCStoreResponse method

SendCFindRequest method

SendCFindResponse method

SendCGetRequest method

SendCGetResponse method

SendCMoveRequest method

SendCMoveResponse method

SendCCancelRequest method

SendCEchoRequest method

SendCEchoResponse method

SendNReportRequest method

SendNReportResponse method

SendNGetRequest method

SendNGetResponse method

SendNSetRequest method

SendNSetResponse method

SendNActionRequest method

SendNActionResponse method

SendNCreateRequest method

SendNCreateResponse method

SendNDeleteRequest method

SendNDeleteResponse method

 

These methods let you easily combine command set information and data set information for a standard set of messages.

If you wish to handle the message sending process in your application, or if you want to create your own messages, LEADTOOLS also provides the low-level method SendData method that allows you to do this. When calling this method, use the hDicomDS property as the handle to the DICOM data set, setting it to 0 if the command set does not require an associated Data Set.