Product Information > JADE Object Manager Guide > Chapter 3 - JADE Application Programming Interface (API) > pTargetMethod

pTargetMethod

The pTargetMethod parameter is the valid method that is executed when the jomInvokeMethod API is called.

If the context in the pTargetMethod call is null, the current context is used. This therefore enables you to invoke a specific saved method rather than calling jomSendMsg, which allows you to provide only the name of the method to which the message is sent. For details, see "Sending a Message", earlier in this chapter.