RZDCX - Fast Strike DICOM Toolkit  Release 2.0.8.7
DICOM Storage SCP and Network Listener

The DICOM Storage SCP and Network Listener is used to service incomming associations. More...

Classes

interface  IDCXACC
 Use this interface to build a DICOM Service SCP (Server). More...
 

Functions

HRESULT rzdcxLib::IDCXACCEvents::OnConnection (BSTR calling_ae_title, BSTR called_ae_title, BSTR calling_host, VARIANT_BOOL *accept_connection)
 Called by accept when connection is established. More...
 
HRESULT rzdcxLib::IDCXACCEvents::OnStoreSetup (BSTR *filename)
 Called by accept when file storage begins. More...
 
HRESULT rzdcxLib::IDCXACCEvents::OnStoreDone (BSTR filename, VARIANT_BOOL storage_status, VARIANT_BOOL *accept_storage)
 Called by accept when file storage is done This can be used to rename/move the file based on its content. More...
 
HRESULT rzdcxLib::IDCXACCEvents::OnTimeout ()
 Called by accept when timeout occurs in assocciation.
 

Detailed Description

The DICOM Storage SCP and Network Listener is used to service incomming associations.

Function Documentation

◆ OnConnection()

HRESULT rzdcxLib::IDCXACCEvents::OnConnection ( BSTR  calling_ae_title,
BSTR  called_ae_title,
BSTR  calling_host,
VARIANT_BOOL *  accept_connection 
)

Called by accept when connection is established.

Note that there's no association end event. When an Association ends, the WaitForCommand event loop will terminate indicating the end of the association for whatever reason.

◆ OnStoreDone()

HRESULT rzdcxLib::IDCXACCEvents::OnStoreDone ( BSTR  filename,
VARIANT_BOOL  storage_status,
VARIANT_BOOL *  accept_storage 
)

Called by accept when file storage is done This can be used to rename/move the file based on its content.

DICOM Conformance:
The out parameter accept_storage governs the C-STORE response status.
  • TRUE - C-STORE Response Status is set to 0x0000 (Success)
  • FALSE - C-STORE Response Status is set to 0xc000 (Error - Cannot Understand)
Parameters
filenameThe filename of the stored instance
storage_statusTrue if the store operation succeeded
accept_storageSet to false to indicate to the peer DICOM AE that the C-STORE operation failed

◆ OnStoreSetup()

HRESULT rzdcxLib::IDCXACCEvents::OnStoreSetup ( BSTR *  filename)

Called by accept when file storage begins.

If return NULL (or zero length) and DCXAPP::EnableInMemoryStorageSCP is set to true The object will be stored in memory and can be collected using DCXACC::TakeStoredObject