Results 1 to 5 of 5

Thread: Ice Protocol documentation buglet

  1. #1
    vukicevic is offline Registered User
    Name: Vladimir Vukicevic
    Organization: DUG
    Project: DUG Insight
    Join Date
    May 2003
    Location
    San Francisco
    Posts
    35

    Ice Protocol documentation buglet

    Howdy,

    The protocol documentation in chapter 15, section 15.3.4 (Reply Message Body) doesn't correspond to what Ice 1.1 sends. The documentation states that a message header with a message type of Reply will be followed by a byte indicating the status of the request, and then one of the structures depending on the status type. Each of the structures has a requestId int32 as the first member. In Ice 1.1, it seems that the requestId is being sent first, followed by the reply type byte, and then the remainder of the structure as described in chapter 15.

    I understand why the requestId is being sent first, so that the request invocation can proceed and a response be written without having to carry the requestId, so you might want to update this section of the documentation

  2. #2
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055

    Re: Ice Protocol documentation buglet

    Originally posted by vukicevic
    Howdy,

    The protocol documentation in chapter 15, section 15.3.4 (Reply Message Body) doesn't correspond to what Ice 1.1 sends. The documentation states that a message header with a message type of Reply will be followed by a byte indicating the status of the request, and then one of the structures depending on the status type. Each of the structures has a requestId int32 as the first member. In Ice 1.1, it seems that the requestId is being sent first, followed by the reply type byte, and then the remainder of the structure as described in chapter 15.
    Hi,

    thanks for the bug report! I'll have a look at this today and fix up the doc as necessary, thanks! Out of curiousity, what are you doing with the Ice protocol? Methinks that you wouldn't have found this problem unless you are trying to interoperate with Ice?

    Cheers,

    Michi.

  3. #3
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055

    Re: Ice Protocol documentation buglet

    Originally posted by vukicevic
    Howdy,

    In Ice 1.1, it seems that the requestId is being sent first, followed by the reply type byte, and then the remainder of the structure as described in chapter 15.
    I just checked, and you are right: following the message header, Ice sends the request ID, followed by the reply status byte, followed by an encapsulation that contains the results.

    I'll update the doc to agree with reality Thanks again for finding this bug!

    Cheers,

    Michi.

  4. #4
    vukicevic is offline Registered User
    Name: Vladimir Vukicevic
    Organization: DUG
    Project: DUG Insight
    Join Date
    May 2003
    Location
    San Francisco
    Posts
    35
    Hi,

    Thanks for looking into it so quickly I'm working on a native implementation of the protocol in a .NET CLI environment, using the remoting infrstructure that exists there. I'll post more info later when there's more to post Edit: I've mostly given up on earlier work with python, mainly because python's pathetic threading situation doesn't work too well with Ice. Shouldn't be a problem with the CLI though.

    Another documentation buglet.. section 17.3.1 that talks about the message header mentions ".. has a 13-byte header .."; unless my counting is off, the message header is 14 bytes
    Last edited by vukicevic; 08-20-2003 at 10:05 PM.

  5. #5
    michi's Avatar
    michi is offline Registered User
    Name: Michi Henning
    Organization: Triodia Technologies
    Project: I have a passing interest in Ice :-)
    Join Date
    Feb 2003
    Location
    Brisbane, Australia
    Posts
    1,055
    Originally posted by vukicevic
    Hi,

    I'm working on a native implementation of the protocol in a .NET CLI environment, using the remoting infrstructure that exists there. I'll post more info later when there's more to post
    Ah, interesting -- please let us know how you go!

    Another documentation buglet.. section 17.3.1 that talks about the message header mentions ".. has a 13-byte header .."; unless my counting is off, the message header is 14 bytes
    You are right -- I found the same thing when I made the changes for the reply message, so it's fixed already

    Cheers,

    Michi.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Ice::DatagramLimitException: protocol error
    By poseidonli in forum Bug Reports
    Replies: 3
    Last Post: 08-03-2009, 11:06 AM
  2. ICE - Protocol buffers
    By Faiz.Usmani in forum Help Center
    Replies: 3
    Last Post: 08-04-2008, 09:08 AM
  3. can Ice support SIP protocol as a plugin now?
    By leya in forum Help Center
    Replies: 1
    Last Post: 03-20-2008, 06:27 AM
  4. ICE Protocol - Questions ...
    By Ama in forum Help Center
    Replies: 1
    Last Post: 07-16-2006, 05:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •