DCMTK Version 3.6.8
OFFIS DICOM Toolkit
|
Helper class to use any class as an SCPWorker as long as it is a model of the SCP Thread Concept. More...
Public Member Functions | |
SCPWorker (DcmSCPPool &pool) | |
Construct a SCPWorker for being used by the given DcmSCPPool. More... | |
virtual OFCondition | setSharedConfig (const DcmSharedSCPConfig &config) |
Set the shared configuration for this worker. More... | |
virtual OFBool | busy () |
Determine if the Worker is currently handling any request. More... | |
virtual OFCondition | workerListen (T_ASC_Association *const assoc) |
Perform SCP's duties on an already accepted (TCP/IP) connection. More... | |
Helper class to use any class as an SCPWorker as long as it is a model of the SCP Thread Concept.
|
inline |
Construct a SCPWorker for being used by the given DcmSCPPool.
pool | the DcmSCPPool object this Worker belongs to. |
|
inlinevirtual |
Determine if the Worker is currently handling any request.
References isConnected().
|
inlinevirtual |
Set the shared configuration for this worker.
config | a DcmSharedSCPConfig object to be used by this worker. |
|
inlinevirtual |
Perform SCP's duties on an already accepted (TCP/IP) connection.
assoc | The association to be run |
References run().