Re: [Beepcore-java-users] multiple messages
Status: Beta
Brought to you by:
huston
From: Kevin K. <kk...@my...> - 2003-01-05 05:46:18
|
I ran your example, but I did not get the errors that you reported.=20 This could be caused by a few different things. If it is a race condition (which it sounds like it is), my machine could be too fast/slow and not able to reproduce the issue. Another option is that this has been fixed in CVS. What version are you running? While I was looking through the ethereal logs for these test results I noticed something odd having to do with SEQ messages. I am not very familiar with RFC 3081 ( need to reread it), but 2 things struck me as odd. First is the fact that reply messages do not produce SEQ messages, from Listener to Initiator, only Initiator to Listener, is that right? Second was the fact that the SEQ messages were coming together in blocks instead of directly following the message that was sent. I have posted the logs from this test so that people can view them and verify they are correct, but it seems to me that the SEQ messages are coming later than they should. Now granted this could just be an artifact of the way the capture occurs and it does not appear to effect the sequence numbers correctness, but I figured I should mention it anyway. log from ethereal for bombServer and bombClient (colored by me so there might be a few mis colored lines):=20 http://www.myslo.com/~kkress/beeplog.html --Kevin Kress On Mon, 2002-12-23 at 00:43, De Kock SJ <136...@su...> wrote: > Hi, > =20 > I have been testing beep by flooding the session with messages and get SE= VERE errors. I use a message listener that just sends a string back. On the= sending peer's side I register the NullReplyListener. I do not wait until = I have recieved reply before I sending the next message. After a few messag= es have been sent then I get a error > SEVERE: Incorrect message number: was 16; expection 1 > Is it correct to assume that I can send miltiple messages on a single cha= nnel without waiting for a reply between every message? > =20 > If I don't send any reply back then the error does not occur. > =20 > I have attatched a demo program to illistrate the problem. > =20 > Thanks, > Sean de Kock > =20 > Files: > bombClient.java (package: org.beepcore.beep.example) - client > bombServer.java (package: org.beepcore.beep.example) - server > TestBombProfile.java (package: org.beepcore.beep.profile.test) - prof= ile --=20 Kevin Kress <kk...@my...> |