BEA Logo BEA Tuxedo Release 8.0

  BEA Home  |  Events  |  Solutions  |  Partners  |  Products  |  Services  |  Download  |  Developer Center  |  WebSUPPORT

 

   Tuxedo Documentation   |   Programming BEA Tuxedo ATMI Applications Using C   |   Local Topics   |   Previous Topic   |   Next Topic   |   Contents

 


Defining the Unsolicited Message Handler

To define the unsolicited message handler function, use the tpsetunsol(3c) function with the following signature:

int
tpsetunsol(*myfunc)

The following table describes the single argument that can be passed to the tpsetunsol() function.

tpsetunsol( ) Function Argument

Argument

Description

myfunc

Pointer to a function that conforms to the prototype of a call-back function. In order to conform, the function must accept the following three parameters:

When a client receives an unsolicited notification, the system dispatches the call-back function with the message. To minimize task disruption, you should code the unsolicited message handler function to perform only minimal processing tasks, so it can return quickly to the waiting process.

 

back to top previous page next page