0 Replies Latest reply on Dec 11, 2012 5:30 AM by lyman liu

    how to make sure the time i need  about  taskOperationHandler.waitTillDone() ?

    lyman liu Newbie

      ...

      System.out.println("begin");

      responseHandler.waitTillDone(5000);

      System.out.println("end ");

      ...

      It means:Print "begin", wait 5000ms, print "end",all right?

       

      My question is :

      if the network is bad, I wait 5000 and then  execute  client.dispose(),ksession.dispose();

      it will be throw  exception  .

       

       

      Can  u give me  some solutions about it ?

      Regards.