When Notification Manager invokes a method, it passes all parameter types (architected, method-specific, and runtime) and levels (method, personal, and time block) of method-specific parameters to the method. The Notification Manager API defines the order in which your program receives the parameters:
The order within the method-specific parameters is as follows:
The order in which parameters are passed is of particular interest in the case of method-specific parameters because the same parameter may have a value in the Notification Manager database at all three levels and, if that is the case, your method receives three different instances of that parameter. It is up to the method to decide how to handle this situation. The NMVOICE and NMPAGE methods both handle this by using the value found in the first instance of each parameter. (This means that they use the most specific value stored in the Notification Manager database.) Methods that you write can handle individual parameters differently.
For example:
Copyright © 2012 CA. All rights reserved. |
|