Re: what is the importance of opnum parameter in invoke method

Esmond Pitt <[email protected]> Tue, 26 Aug 2008 16:13:11 +1000
Newsgroups gmane.comp.java.sun.rmi
Organization Melbourne Software Company
Message-ID <20080826061137.NJLH15766.nskntotgx02p.mx.bigpond.com@toshibakx1wgjb>
> 1. is it a legal process to generate stubs manually?

I don't even know what this means. You either have to use rmic or use 1.5
dynamic stubs as I mentioned in my previous message.

> 2. if so, is there any importance for the opnum parameter in the invoke
method:

It's the remote method number within the interface. But you don't need to
know this. If you're fiddling round at this level of detail you're just
asking for trouble. Use rmic or a dynamic stub.

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