Hi all,
Is there any reason to choose the DICOM Protocol over the Rest API?
Because just as that thread's OP, I also need to retry failed routing's. So the poll'er will have to communicate with a running Orthanc server. A two-way communication, by the way.
In a nutshell, there's going to be an external application that every now and then will interact with Orthanc. But there's the DICOM protocol and there's the Rest API and the events I can hook onto (OnStoredInstance, ReceivedInstanceFilter, IncomingHttpFilter, etc).
So far, I fail to see the benefits of choosing one over the other since it looks as though both provide the same hooks. MAYBE the deletion process will favour the Rest API. Truth be told, even though I can respond to ReceivedInstance filter, there isn't a equivalent for deleted instances; on the other hand, I can develop an IncomingHttpRequestFilter so as to forward an instance's deletion, for example.
Also of interest is access control. It is possible to shield the server behind a basic auth mechanism.
Hopefully I wasn't too confusing in trying to explain the context.
What are your thoughts?
Thanks in advance! =)
Luiz