Basic query/retrieve service class provider example which should be run with the QuerySCU.
The QuerySCPExtended looks for images in the QuerySCPImages folder which is created and
populated with some demo datasets if it does not exist.
The QuerySCU example code may then be run to issue a FIND or MOVE request.
This example creates a class that extends the QuerySCP class and overrides the CFindRq, CGetRq, CMoveRq, CCancelRq and CStoreRsp methods to handle the required Query/Retrieve service DIMSE messages. See the SampleVNA example for a more full-featured example of a Query/Retrieve Service implementation.
When responding to a MOVE request from a Query SCU, this Query/Retrieve SCP will send instances to a Store SCP. A Store SCP may be run by using the StoreSCPExtended code.
StoreSCPExtended -p 10105 QuerySCPExtended -p 10104 -m 10105
QuerySCU -p 10104 FIND "Stephen^Miner" QuerySCU -p 10104 MOVE 1.2.123.4.454.62341.246.2
Inheritance Hierarchy
LaurelBridge.DCFExamples.QuerySCPExtendedProgram
Namespace: LaurelBridge.DCFExamples.QuerySCPExtended
Assembly: QuerySCPExtended (in QuerySCPExtended.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax
C#
public class Program
The Program type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Program | Initializes a new instance of the Program class |
Methods
Name | Description | |
---|---|---|
Main |
Main entry point for QuerySCPExtended.
|
See Also