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::IDCXREQEvents::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::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. | |
The DICOM Storage SCP and Network Listener is used to service incomming associations.
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.
HRESULT rzdcxLib::IDCXREQEvents::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.
filename | The filename of the stored instance |
storage_status | True if the store operation succeeded |
accept_storage | Set to false to indicate to the peer DICOM AE that the C-STORE operation failed |
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.
filename | The filename of the stored instance |
storage_status | True if the store operation succeeded |
accept_storage | Set to false to indicate to the peer DICOM AE that the C-STORE operation failed |
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