Accepter interface events (callbacks). Implement this interface to recireve events from the IDCXACC Interface. More...
Public Member Functions | |
| HRESULT | OnCommitResult (VARIANT_BOOL status, BSTR transaction_uid, BSTR succeeded_instances, BSTR failed_instances) |
| Called when a N-EVENT-REPORT of a Storage Commit result is recieved. The lists of succeeded and failed instances are strings with semicolon delimiter. See CommitFiles and CommitInstances for more info. More... | |
| HRESULT | 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 | OnStoreSetup (BSTR *filename) |
| Called by accept when file storage begins. More... | |
| HRESULT | 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 | OnTimeout () |
| Called by accept when timeout occurs in assocciation. | |
| HRESULT | OnStorageCommitRequest (BSTR transaction_uid, BSTR instances, VARIANT_BOOL *accept_storage_commit) |
| Called by accept when storage commit request in recieved. | |
| HRESULT | OnAssocEnd () |
| Called when association ends. | |
| HRESULT | OnEcho () |
| Called on C-ECHO. | |
| HRESULT | OnFind ([in] IDCXOBJ *identifier, [out, retval] IDCXOBJIterator **results) |
| Called on C-FIND. More... | |
| HRESULT | OnMPPSCreate ([in] BSTR affected_sop_instance_uid, [in] IDCXOBJ *dataset) |
| This callback is fired when a N-CREATE command of a MPPS instance is received. | |
| HRESULT | OnMPPSSet ([in] BSTR affected_sop_instance_uid, [in] IDCXOBJ *dataset) |
| This callback is fired when a N-SET command of a MPPS instance is received. | |
Accepter interface events (callbacks). Implement this interface to recireve events from the IDCXACC Interface.
| HRESULT rzdcxLib::IDCXACCEvents::OnFind | ( | [in] IDCXOBJ * | identifier, |
| [out, retval] IDCXOBJIterator ** | results | ||
| ) |
Called on C-FIND.
Use OnFind to implement Q/R SCP and Modality Worklist SCP Return NULL to indicate error Return empty (no items, i.e. 0 lenght) iterator to indicate 0 matchs
| identifier | The query identifier |
| results | Return results. May either be a DCXOBJIterator instance or your implementation of IDCXOBJIteartor interface |
1.9.5