I have indeed added a
handleSTORERequest() method to my class which inherits
DcmSCP. The problem is that I'm stuck writing the contents of this method.
Available examples such as
storescp source code and method
DcmSCP::handleECHORequest() makes use of private variables such as
m_assoc or lower level fuctions such as
DIMSE_sendEchoResponse(). I don't have access to such private variables in my
handleSTORERequest() function.
My guess is that I should use higher level functions made available in
DcmSCP such as
DcmSCP::sendSTOREResponse(). I would appreciate some basic initial guidance, such as which
DcmSCP methods I should overload/call to implement a basic response to a C-STORE request.