Product Information > JADE Object Manager Guide > Chapter 4 - JADE System Instrumentation and Diagnosis > ProcesssendTransientFileInfo Method
Process::sendTransientFileInfo Method
sendTransientFileInfo();

The Process class sendTransientFileInfo method requests a target process to send a notification containing information about its transient database file.

The target process is indicated by the Process instance used as the method receiver. The target object for the notification is the Process instance of the process making the request.

You can specify any current process as the target, including the requesting process itself and processes executing on other nodes.

To retrieve the transient database file information and send the notification, the target process is temporarily activated or interrupted. After sending the notification, the target process resumes from the point at which it was activated or interrupted.

This method is asynchronous; that is, the sendTransientFileInfo method does not wait until the information has been received. The information is received as notifications some time after the sendTransientFileInfo method has been called.

The information in the notification relating to the transient database file information of the process is listed in the following table.

Parameter Contains …
eventType Process_TDB_Info_Event global constant in the JadeProcessEvents category
target Process instance of the process that made the request
userInfo Colon-delimited string containing the process oid, transient database file name, and the transient database file length

The process making the request should register to receive type Process_TDB_Info_Event notifications on its Process instance, using the beginNotification method defined in the Object class before executing the sendTransientFileInfo method, as shown in the following code fragment.

self.beginNotification(process, Process_TDB_Info_Event,
                       Response_Continuous, 0);

To determine whether a notification contains transient database file information, the userNotification method receiving the notification should test whether the value of the eventType parameter is Process_TDB_Info_Event.

If the target process (the method receiver) is not a valid current process, exception 1128 (The target process is not valid) is raised