Serializing a method call
The stub invokes the method
StartRemoteCall(
method-id
)
, where
method-id
is an arbitrary identifier assigned to the method.
The identifier is used by the skeleton for knowing which method must be invoked.
startRemoteCall returns an object output stream (out) which the stub uses for writing the parameters by executing:
out.write
parameter-type
(
parameter
);
Where
parameter-type
can be Int, Double, Boolean or Object.
- 2 -