Re: RMI return data (method call) message format

Alex Co <[email protected]> Tue, 16 Jun 2009 10:47:40 -0600
Newsgroups gmane.comp.java.sun.rmi
Message-ID <LISTSERV%[email protected]>
Ok, you said that I have to read the 10.2.2 and 10.3 sections in order to=
=20
understand the replay message for a RMI call.

When I invoke the rmi method void HelloWorld(void) by using sockets , the=
=20
server returns these set of bytes:

0x51
0xac
0xed
0x0
0x5
0x77
0xf
0x1
0x71
0x33
0xf0
0xe
0x0
0x0
0x1
0x21
0xe9
0xee
0x1b
0xde
0x80
0x4

So, how could a beginner like me understand all these bytes if RMI spec j=
ust=20
speacks about a return code for the rmi call (0x51) a return code from me=
thod=20
invocation (0x01 or 0x02) a unique ID and a return value?

I think RMI spec if very very synthetic. It does not explains all the=20
bytes/fields of the rmi calls. If so, please highlight me because i alone=
 cant do=20
that, specially for the return of a rmi call.

Many thanks

Alex

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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