directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trustin Lee <trus...@gmail.com>
Subject Re: problem with the tennis example
Date Thu, 17 Nov 2005 04:20:47 GMT
Hi Paolo,

It was a bug introduced by the recent changes. Now it is fixed. Please svn
up and try again.

Thanks for the heads up,
Trustin

2005/11/17, Pablo Pita Leira <pablo.pita@pitagoral.com>:
>
> Hello,
>
> I am learning how Mina works, as it may be useful for my project. It seems
> very interesting.
>
> So I have been trying a few of the examples to know more about MINA. I
> have
> seen something strange for Tennis :
>
> $ java -classpath 'slf4j-simple-1.0-beta9.jar:mina-0.9.0-SNAPSHOT.jar'
> org.apache.mina.examples.tennis.Main
> Player-1: READY
> Player-0: READY
> Player-1: SENT PING (3)
> Player-0: RCVD PING (3)
> Player-1: RCVD PONG (2)
> Player-0: SENT PONG (2)
> Player-1: SENT PING (1)
> Player-0: RCVD PING (1)
> Player-0: LOSE
>
> Here, the thread does not terminate if the TennisBall gets an odd value (I
> wrote 3 in the code instead of 10). For event numbers, the thread
> terminates. I am running a self compiled MINA from the latest trunk in
> subversion.
>
> Please see if you can reproduce and if it shows a bug.
>
> Cheers,
> --
> Pablo Pita Leira
>
>
>


--
what we call human nature is actually human habit
--
http://gleamynode.net/

Mime
View raw message