template<typename SCP = DcmThreadSCP, typename SCPPool = DcmBaseSCPPool, typename BaseSCPWorker = OFTypename SCPPool::DcmBaseSCPWorker>
struct DcmSCPPool< SCP, SCPPool, BaseSCPWorker >::SCPWorker
Helper class to use any class as an SCPWorker as long as it is a model of the SCP Thread Concept.
template<typename SCP = DcmThreadSCP, typename SCPPool = DcmBaseSCPPool, typename BaseSCPWorker = OFTypename SCPPool::DcmBaseSCPWorker>
Perform SCP's duties on an already accepted (TCP/IP) connection.
Once done, destroy the association so the worker does not appear blocked for the next request in case of reuse.
- Parameters
-
| assoc | The association to be run |
- Returns
- Returns EC_Normal if negotiation could take place and no serious network error has occurred or the given association is invalid. Error code otherwise.