Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
等待事件通知。
ULjEvent Connection.waitForEvent(int wait_ms) throws ULjException
wait_ms 返回前的等待(阻塞)时间(以毫秒为单位)。要无限期等待,请设置为 -1。
在等待时间内发生的事件;如在等待时间内未收到任何通知则为空值。
此调用将阻塞直到收到通知或给定等待时期到期。要取消等待,请使用 cancelWaitForEvent 方法。