public boolean waitForSignal(int appID, long timeoutMillis) throws CapiException {
   return capi.waitForSignal(appID, timeoutMillis);
 }
 public boolean waitForSignal(int appID) throws CapiException {
   return capi.waitForSignal(appID);
 }