beautypg.com

4 unack (asynchronous call) – Renesas Stub Generator V.1.00 User Manual

Page 99

background image

Section 6 Definitions of Server Functions

Rev. 1.01 Mar. 17, 2008 Page 87 of 128

REJ10J1822-0101

6.7.4

UNACK (Asynchronous Call)

Format:

[UNACK]

Description:

The client makes RPC calls in asynchronous mode. When UNACK is not used, RPC calls are
made in synchronous mode.

UNACK cannot be used with CLNTSTUB.

Note:

When UNACK is used, the return value of the server function must be of type void and the
input/output keyword for parameters must be IN.

Example:

Specification of a server function

void func(int par);

The function takes par as an input. The client makes RPC calls in asynchronous mode.

Definition of the server function

func([IN DFLT]int par)[UNACK];

This manual is related to the following products: