Section 5 Specifications of a Config File
Rev. 1.01 Mar. 17, 2008 Page 44 of 128
REJ10J1822-0101
5.6.2
CLNT_NOSHUTDOWN
Format:
CLNT_NOSHUTDOWN;
Description:
RPCGEN creates the following client-shutdown function in <config file>_clnt.c as the standard:
INT32 rpcclnt_<server name>_shutdown(UINT32 __ulRPCServerID, UINT32
__ulRPCServerVersion );
If the CLNT_NOSHUTDOWN statement is present, RPCGEN will not create the client-shutdown
function. Use CLNT_NOSHUTDOWN when the client-shutdown function is provided as part of
the application.
The client-shutdown function generated by RPCGEN calls rpc_disconnect() to disconnect the
client from the server. Although rpc_disconnect() generally allows specification of a callback
function to be executed at the time the client is disconnected from the server, no callback function
is specifiable for the client-shutdown function generated by RPCGEN. If you wish to use a
callback function, specify CLNT_NOSHUTDOWN and implement the client-shutdown function
on the user side.
In the current HI7200/MP specification, a callback function is ignored even if one has been
specified for rpc_disconnect().
Also refer to section 8.7, Client-Shutdown Function.
Example:
CLNT_NOSHUTDOWN;
Summary of Contents for Stub Generator REJ10J1822-0101
Page 4: ......
Page 6: ......
Page 12: ...vi ...
Page 16: ...Section 2 Installation Rev 1 01 Mar 17 2008 Page 4 of 128 REJ10J1822 0101 ...
Page 34: ...Section 4 Executing RPCGEN Rev 1 01 Mar 17 2008 Page 22 of 128 REJ10J1822 0101 ...
Page 60: ...Section 5 Specifications of a Config File Rev 1 01 Mar 17 2008 Page 48 of 128 REJ10J1822 0101 ...
Page 118: ...Section 9 Notes Rev 1 01 Mar 17 2008 Page 106 of 128 REJ10J1822 0101 ...
Page 131: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 119 of 128 REJ10J1822 0101 ...
Page 140: ...Section 11 Samples Rev 1 01 Mar 17 2008 Page 128 of 128 REJ10J1822 0101 ...
Page 143: ......