It costs at least 2 bytes more to use remote method invocation than just sending the parameters. If the method has a return value which is not {@link RemoteObject#setNonBlocking(boolean,boolean) ignored}, an extra byte is written. If the type of a parameter is not final (note primitives are final) then an extra byte is written for that parameter.
@author Nathan Sweet
|
|
|
|
|
|