[Gdcm2] returning state after secondConnectionEstablished==false
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: <em...@po...> - 2017-08-30 09:38:30
|
Hello there, has anyone thought about also returning the state of the second connection from the gdcmULConnectionManager::RunMoveEventLoop. I would like to find out whether he second connection failed to open within a C-MOVE request? But this method only prints the state via gdcmErrorMacro (e.g. "Refused: Out of Resources Unable to perform sub-operations" ) and the ULConnectionManager::SendMove returns true since the first connection is still open. My only way to get this error is to count the calls of my custom ULConnectionCallback class. I am thinking about rewriting the class for myself a little that returns both states in some way, which however might not be the best idea. Is there another way? There also was a configurable timout within the ULConnection::InitializeIncomingConnection. Why is it commented and replaced with a hard defined 60 seconds? Any thoughts on that? Best Mathias |