Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Waits for an event notification.
ULjEvent Connection.waitForEvent(int wait_ms) throws ULjException
wait_ms The time, in milliseconds, to wait (block) before returning. To wait indefinitely, set to -1.
The event that occurred within the wait time, or null if no notification was received within the wait time.
This call blocks until a notification is received or until the given wait period expires. To cancel a wait, use the cancelWaitForEvent method.