Progress
External Program
Interfaces


waitForMessages

In Session Objects

This procedure waits and processes events as long as the user-defined function, UDFName (in procH), returns true and there is no period of more than timeOut seconds in which no messages are received. The user-defined function is evaluated each time after a message is handled:

SYNTAX
PROCEDURE waitForMessages: 
DEFINE INPUT PARAMETER UDFName AS CHAR NO-UNDO.  
DEFINE INPUT PARAMETER procH AS HANDLE NO-UNDO.  
DEFINE INPUT PARAMETER timeOut AS INT NO-UNDO.  

For information on this procedure in context, see the "Processing Messages" section in Accessing SonicMQ Messaging From the Progress 4GL."


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095