Helper class to use any class as an SCPWorker as long as it is a model of the SCP Thread Concept.
More...
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.
◆ SCPWorker()
template<typename SCP = DcmThreadSCP, typename SCPPool = DcmBaseSCPPool, typename BaseSCPWorker = OFTypename SCPPool::DcmBaseSCPWorker>
◆ busy()
template<typename SCP = DcmThreadSCP, typename SCPPool = DcmBaseSCPPool, typename BaseSCPWorker = OFTypename SCPPool::DcmBaseSCPWorker>
virtual OFBool DcmSCPPool< SCP, SCPPool, BaseSCPWorker >::SCPWorker::busy |
( |
| ) |
|
|
inlinevirtual |
Determine if the Worker is currently handling any request.
- Returns
- OFTrue if the underlying SCP implementation is currently handling a request, OFFalse otherwise.
References isConnected().
◆ setSharedConfig()
template<typename SCP = DcmThreadSCP, typename SCPPool = DcmBaseSCPPool, typename BaseSCPWorker = OFTypename SCPPool::DcmBaseSCPWorker>
Set the shared configuration for this worker.
- Parameters
-
- Returns
- the result of the underlying SCP implementation.
◆ workerListen()
template<typename SCP = DcmThreadSCP, typename SCPPool = DcmBaseSCPPool, typename BaseSCPWorker = OFTypename SCPPool::DcmBaseSCPWorker>
Perform SCP's duties on an already accepted (TCP/IP) connection.
- 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.
References run().
The documentation for this struct was generated from the following file:
- dcmnet/include/dcmtk/dcmnet/scppool.h