DCMTK  Version 3.6.2
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

◆ isConnected()

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().

◆ run()

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.
EC_Normalif association could be handled, error otherwise

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

◆ setConfig()

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 Mon Jul 17 2017 for DCMTK Version 3.6.2 by Doxygen 1.8.13