Re: RMI return data (method call) message format
Esmond Pitt FACS <[email protected]> Wed, 17 Jun 2009 16:52:31 +1000
| Newsgroups | gmane.comp.java.sun.rmi |
|---|---|
| Organization | Melbourne Software Company |
| Message-ID | <20090617065027.MEKW12022.nschwotgx01p.mx.bigpond.com@toshibakx1wgjb> |
Alex Frankly I don't think you've made much of an effort here. It is all in the RMI Specification or the Object Serialization Specification. 0x51 is the beginning of the ReturnData. 0xaced is the serialization stream header ObjectStreamConstants.STREAM_MAGIC. 0x0005 is ObjectStreamConstants.STREAM_HEADER. 0x77 is ObjectStreamConstants.TC_BLOCKDATA, followed by an unsigned size byte followed by that many bytes, consisting of followed by TC_ENDBLOCKDATA=0x78, which you haven't posted. The content of this block data is the 0x1 for success, followed by the UniqueIdentifer value. After the TC_ENDBLOCKDATA I would then expect to see the serialized form of the return value if any. And if I can get all that from the respective specifications in five minutes flat there can't be too much wrong with them. EJP =========================================================================== 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