Avaya Logo

Previous Topic

Next Topic

Book Contents

Book Index

Writing the DIP

A DIP must be able to send and receive messages to and from TSM. A DIP may send any errors or other information to the logger. DynaDIPs send and/or receive messages using the same method, format, and library functions as hardcoded DIPs. Messages are sent to and received from the appropriate Qkey by specifying the corresponding Qkey. The Qkey must be known before any message can be sent or received.

Designing a DIP includes the following steps:

  1. Define the data to be passed between the DIP and the TSM script
  2. Initialize the DIP to the system
  3. Send and receive messages
  4. Implement the application-specific processing
  5. Define and add logger errors (optional but recommended)
  6. Add error reporting (optional but recommended)
  7. Add trace messages (optional but recommended)
  8. Compile and execute the DIP.

The examples provided here are used in the template for writing a DynaDIP. See the Sample DIP for an more information.

In This Section

Step 1: Define data to be passed between the DIP and the TSM script

Step 2: Initialize the DIP to the system

Step 3: Send and receive messages

Step 4: Implement the application-specific processing

Step 5: Define and add logger errors

Step 6: Add error reporting

Step 7: Add trace messages

Step 8: Compile and execute the DIP

© 2006 Avaya Inc. All Rights Reserved.