OpenTP1 Version 7 Programming Guide

[Contents][Index][Back][Next]

2.1.15 Monitoring the service function execution time

The execution time from when an SPP service function is started until it is terminated can be monitored. When the dynamic loop occurs in the user-created service function because of an error, this facility can be used to cancel such a service. When the service function does not return after the designated monitoring time has elapsed, this facility forces this SPP process to terminate.

To monitor the execution time of the service function, specify a value of service_expiration_time in the user service definition.

This facility can only be used in an SPP, not in an MHP. This facility cannot be used in an SPP that operates with the XATMI interface using the OSI TP protocol or with TxRPC interface using the DCE protocol.

The figure below shows the outline of the service function execution time monitoring.

Figure 2-14 Outline of service function execution time monitoring

[Figure]