MKS Integrity 2007 Integrations Builder Guide
MKS Integrity 2007 Integrations Builder Guide
MKS Integrity 2007 Integrations Builder Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Chapter 2: Understanding the <strong>MKS</strong> API<br />
4<br />
This guide is focused on the <strong>MKS</strong> Java and C API, and its usage. This chapter contains the<br />
following information to help you understand how the <strong>MKS</strong> API can meet your integration<br />
needs:<br />
“The API Model” on page 4<br />
“Integration Scenarios” on page 5<br />
“Where To Go Next” on page 9<br />
The API Model<br />
The <strong>MKS</strong> API uses a generic model to minimize the development and administration of all<br />
integrations built using the API. All integrations interact with <strong>MKS</strong> <strong>Integrity</strong> products<br />
through a generic command processor called the command runner. To run any command, a<br />
command is specified using its CLI syntax. A command runner sends the command to an<br />
<strong>MKS</strong> <strong>Integrity</strong> Client or <strong>MKS</strong> <strong>Integrity</strong> Server, which executes the command and returns a<br />
response. The response contents can then be accessed by the integration.<br />
The same command runner is used to run any command for any application, only the<br />
command and its options change, and all commands use the same response type. Rather than<br />
learning multiple APIs, there is only a single API to become familiar with.<br />
The <strong>MKS</strong> API consists of three components:<br />
Your Application<br />
Integration Code<br />
Command<br />
API<br />
Response<br />
Integration Point<br />
<strong>Integrity</strong> Client or <strong>Integrity</strong> Server<br />
Commands<br />
The <strong>MKS</strong> <strong>Integrity</strong> CLIs define the functions that are available through the API. Key<br />
<strong>MKS</strong> <strong>Integrity</strong> commands (item and change package creation and manipulation) and<br />
core <strong>MKS</strong> Source functions, used by most IDE (Integrated Development Environment)