Yes,I agree with u.However,It seems that you have omit a case as following,

"secondly,when the Host is present ,but does not have a daemon listening on the 
expected port,
     when I run the test case in desktop PC ,the result is:
Waited: 5000 
Connected: false, and no exception throwed."

it seems not reasonable according to your perspective.

BR 
Allen

----- Original Message ----- 
From: "Tuure Laurinolli" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, September 18, 2008 1:56 AM
Subject: Re: API Issue: ConnectFuture.await()


> Allen Jiang wrote:
> 
>>      when I run the test case in Notebook PC ,the result is:
>> Waited: 1000 
>> Connected: false,
>> Also got exception:
>> java.net.ConnectException: Connection refused
> 
> It would seem that you get an explicit notification from the remote host
> about unavailability of service, and thus the wait is terminated. This
> seems reasonable.

Reply via email to