DCMTK  Version 3.6.1 20160216
OFFIS DICOM Toolkit
Functions
SCP Thread Concept

A SCP object should follow this concept to be used in DcmSCPPool. More...

Functions

 DefaultConstructor ()
 The SCP must be default constructible.
 
OFCondition setConfig (const DcmSCPConfig &config)
 The SCP must be configurable by setting it's configuration with this method. More...
 
OFBool isConnected ()
 Returns OFTrue if SCP currently runs an association. More...
 
OFCondition run (T_ASC_Association *assoc)
 Take over incoming association that is in the state that the underlying TCP/IP connection is already accepted, while the ACSE negotiation is not already done but must be implemented by this method. More...
 

Detailed Description

A SCP object should follow this concept to be used in DcmSCPPool.

The easiest and recommended way to follow this concept is to derive your class from DcmThreadSCP.

Function Documentation

OFBool isConnected ( )

Returns OFTrue if SCP currently runs an association.

Returns
OFTrue if currently connected, OFFalse otherwise.

Referenced by DcmSCPPool< SCP, SCPPool, BaseSCPWorker >::SCPWorker::busy().

OFCondition run ( T_ASC_Association assoc)

Take over incoming association that is in the state that the underlying TCP/IP connection is already accepted, while the ACSE negotiation is not already done but must be implemented by this method.

Parameters
assocThe association to run.

Referenced by DcmSCPPool< SCP, SCPPool, BaseSCPWorker >::SCPWorker::workerListen().

OFCondition setConfig ( const DcmSCPConfig config)

The SCP must be configurable by setting it's configuration with this method.

Parameters
configthe configuration to be used by the SCP.
Returns
EC_Normal if configuration is accepted, error otherwise.


Generated on Sun Jul 3 2016 for DCMTK Version 3.6.1 20160216 by Doxygen 1.8.11