Table of Contents
Table of Contents ........................................................................................................................................ ii
Important Information ............................................................................................................................... iv
Support Contact Information ......................................................................................................................................................... iv
Learn More Online ......................................................................................................................................................................... iv
Technical Support ............................................................................................................................................................................ v
Optical Disc Recording Software Disclaimer .................................................................................................................................... v
Introduction ................................................................................................................................................ 1
Rapid API Features ......................................................................................................................................................................... 1
Get Started ..................................................................................................................................................................................... 1
Work with the API ....................................................................................................................................... 2
Work with Sessions ........................................................................................................................................................................ 2
Client Session.................................................................................................................................................................................................. 3
SingleConnectionSession ................................................................................................................................................................................ 3
Connection ..................................................................................................................................................................................................... 3
Work with Listeners ........................................................................................................................................................................ 3
Listener Callback Options ............................................................................................................................................................................... 4
Work with Jobs ............................................................................................................................................................................... 4
Create a Job .................................................................................................................................................................................................... 6
Set Job Data ................................................................................................................................................................................................... 6
Jobs Spanning Multiple Discs .......................................................................................................................................................................... 6
Set Job Parameters ......................................................................................................................................................................................... 7
Submit a Job................................................................................................................................................................................................... 7
Durable Jobs .................................................................................................................................................................................................. 8
Monitor Jobs .................................................................................................................................................................................................. 8
Recover Durable Jobs ..................................................................................................................................................................................... 9
Recover Durable Jobs of Client ....................................................................................................................................................................... 9
Work with Parameters .................................................................................................................................................................... 9
Work with Servers ........................................................................................................................................................................ 10
Work with Server Alerts ................................................................................................................................................................................11
Work with Server Orders ...............................................................................................................................................................................12
Memory Management .................................................................................................................................................................. 13
Enumerate Objects ....................................................................................................................................................................... 13
Exception Handling ....................................................................................................................................................................... 14
Customize the API ...................................................................................................................................... 15
Extend Job Classes ........................................................................................................................................................................ 15
Job Factory ....................................................................................................................................................................................................16
Generate Custom Job XML ............................................................................................................................................................ 18
Customize ImageOrder XML ..........................................................................................................................................................................19
Customize ProductionOrder XML ...................................................................................................................................................................20
XML Writer Factory .......................................................................................................................................................................................20
Modifying XML Directly .................................................................................................................................................................................22
Generate Custom Server Request XML .......................................................................................................................................... 22
Samples ..................................................................................................................................................... 24
ii