I'm using DcmSCPPool and found it has a getConfig method, I understand it returns the DcmSCPConfig instance of the DcmThreadSCP instance, am I right?.
If this is true, I would like to set a custom DcmSCPConfig and can't find a method to do this.
DcmSCPPool please add a setConfig method
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2049
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: DcmSCPPool please add a setConfig method
Hi,
note that getConfig() returns a reference to the configuration so it can be used for setting values:
Best,
Michael
note that getConfig() returns a reference to the configuration so it can be used for setting values:
Code: Select all
/** Return handle to the SCP configuration that is used to configure how to
* handle incoming associations. For the pool, e.g. by providing settings
* for TCP connection timeout, and for the workers, e.g. by configuration
* presentation contexts and the like.
* @return The SCP configuration(s).
*/
virtual DcmSCPConfig& getConfig();
Michael
Who is online
Users browsing this forum: Bing [Bot] and 1 guest