comparison OrthancServer/main.cpp @ 3607:d0ecb355db33 storage-commitment

DicomUserConnection::ReportStorageCommitment() complete
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 17 Jan 2020 15:56:02 +0100
parents 33ba63637d48
children 7ae553d9c366
comparison
equal deleted inserted replaced
3606:33ba63637d48 3607:d0ecb355db33
108 108
109 std::vector<std::string> a, b, c, d; 109 std::vector<std::string> a, b, c, d;
110 a.push_back("a"); b.push_back("b"); 110 a.push_back("a"); b.push_back("b");
111 a.push_back("c"); b.push_back("d"); 111 a.push_back("c"); b.push_back("d");
112 112
113 //scu.ReportStorageCommitment("transaction", a, b, c, d); 113 scu.ReportStorageCommitment("transaction", a, b, c, d);
114 scu.ReportStorageCommitment("transaction", a, b, a, b); 114 //scu.ReportStorageCommitment("transaction", a, b, a, b);
115
116 /**
117 * "After the N-EVENT-REPORT has been sent, the Transaction UID is
118 * no longer active and shall not be reused for other
119 * transactions."
120 * http://dicom.nema.org/medical/dicom/2019a/output/chtml/part04/sect_J.3.3.html
121 **/
115 } 122 }
116 123
117 public: 124 public:
118 OrthancStorageCommitmentRequestHandler(ServerContext& context) : 125 OrthancStorageCommitmentRequestHandler(ServerContext& context) :
119 server_(context) 126 server_(context)