Go Back   ZeroC Forums > Comments

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 08-20-2003
vukicevic vukicevic is offline
Registered User
 
 
Join Date: May 2003
Location: San Francisco
Posts: 34
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
Reply With Quote
  #2 (permalink)  
Old 08-20-2003
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 896
Re: Ice Protocol documentation buglet

Quote:
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.
Reply With Quote
  #3 (permalink)  
Old 08-20-2003
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 896
Re: Ice Protocol documentation buglet

Quote:
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.
Reply With Quote
  #4 (permalink)  
Old 08-20-2003
vukicevic vukicevic is offline
Registered User
 
 
Join Date: May 2003
Location: San Francisco
Posts: 34
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.
Reply With Quote
  #5 (permalink)  
Old 08-21-2003
michi's Avatar
michi michi is offline
ZeroC Staff
 
Name: Michi Henning
Organization: ZeroC
Project: Ice
 
Join Date: Feb 2003
Location: Brisbane, Australia
Posts: 896
Quote:
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!

Quote:
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ICE Protocol - Questions ... Ama Help Center 1 07-16-2006 05:19 AM
Documentation ChrisC Comments 7 09-16-2005 09:31 AM
Can I set default protocol in command line ? gigaboy Bug Reports 2 06-20-2005 01:50 AM
Wireless protocol plug-in crj18 Help Center 1 10-19-2004 06:37 PM


All times are GMT -4. The time now is 12:50 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.