Re: RMI return data (method call) message format

Peter Jones <[email protected]> Mon, 22 Jun 2009 02:22:27 -0400
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
On Jun 17, 2009, at 8:25 AM, Alex Co wrote:
> Sorry, may be we are not reading the same document
> (http://java.sun.com/j2se/1.5.0/docs/guide/rmi/spec/rmiTOC.html). In  
> this
> document I cant find reference to those fields that you now describe.

I'm sure that Esmond was referring to these pages:

http://java.sun.com/javase/6/docs/platform/rmi/spec/rmi-protocol3.html
http://java.sun.com/javase/6/docs/platform/rmi/spec/rmi-protocol4.html

It seemed to me that you had identified the structural pieces anyway--  
0x51 followed by an object serialization stream containing  
ReturnValue, which is (on normal return) 0x01 followed by a UID  
(formatted as previously discussed) followed by an optional value  
which is not present for a void method.  The purpose of this UID, by  
the way, is only for reference by a possible future DgcAck message  
sent by the client.

-- Peter

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html