Hi,all I tried the example tennis in the mina-1.1.4.zip. The tennis is very simple just like a tennis game, Player-0 is the server, which first send a message 'PING (10)'. Player-1 is the client which receive the message 'PING (10)' and response a new message 'PONG (9)' to the server.
So, I guess the running result should be the second result following.But the first running result confused me a lot. Please notice the codes between the '#', why could this happen? Why 'Player-0: RCVD PING (10)' but when Player-1 never sent the first message? Any reply is appreciated. Thanks previously. ******************************************************************* Here are the messages: the first excuting result is : Player-1: READY Player-0: READY ###################################### Player-0: RCVD PING (10) Player-0: SENT PONG (9) Player-1: SENT PING (10) Player-1: RCVD PONG (9) ###################################### Player-1: SENT PING (8) Player-0: RCVD PING (8) Player-0: SENT PONG (7) Player-1: RCVD PONG (7) Player-1: SENT PING (6) Player-0: RCVD PING (6) Player-0: SENT PONG (5) Player-1: RCVD PONG (5) Player-1: SENT PING (4) Player-0: RCVD PING (4) Player-0: SENT PONG (3) Player-1: RCVD PONG (3) Player-1: SENT PING (2) Player-0: RCVD PING (2) Player-0: SENT PONG (1) Player-1: RCVD PONG (1) Player-1: LOSE Player-1: QUIT Player-0: QUIT ***************************************************************** and the other excuting result: Player-1: READY ####################################### Player-1: SENT PING (10) Player-0: READY Player-0: RCVD PING (10) ####################################### Player-0: SENT PONG (9) Player-1: RCVD PONG (9) Player-1: SENT PING (8) Player-0: RCVD PING (8) Player-0: SENT PONG (7) Player-1: RCVD PONG (7) Player-1: SENT PING (6) Player-0: RCVD PING (6) Player-0: SENT PONG (5) Player-1: RCVD PONG (5) Player-1: SENT PING (4) Player-0: RCVD PING (4) Player-0: SENT PONG (3) Player-1: RCVD PONG (3) Player-1: SENT PING (2) Player-0: RCVD PING (2) Player-0: SENT PONG (1) Player-1: RCVD PONG (1) Player-1: LOSE Player-1: QUIT Player-0: QUIT -- View this message in context: http://www.nabble.com/The-confusing-console-messages-using-the-tennis-example-in-the-mina-1.1.4.zip-tf4887263s16868.html#a13988655 Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.