Client and Server Examples for Natural

This document describes the examples provided for Natural. All examples here can be found in the EntireX examples/RPC directory under UNIX and Windows.


Basic RPC Client Examples - CALC, SQUARE

Name Type Description Notes
CALCCLT.NSP Natural Program A client application calling the remote procedure (RPC service) CALC, with associated example.idl. 1, 2
SQRECLT.NSP Natural Program A client application calling the remote procedure (RPC service) SQUARE, with associated example.idl. 1, 2

Notes:

  1. Requires a Natural version supported by Software AG.
  2. Application uses a client interface object built with the Natural Wrapper.

For more information see the readme file in EntireX directory examples/RPC/NaturalClient under UNIX or Windows.

Basic RPC Server Examples - CALC, SQUARE

Name Type Description Notes
CALC.NSN Natural Subprogram (CALLNAT) A server application providing the remote procedure CALC (RPC service), with associated example.idl. 1
SQUARE.NSN Natural Subprogram (CALLNAT) A server application providing the remote procedure SQUARE (RPC service), with associated example.idl. 1

Notes:

  1. Requires a Natural version supported by Software AG and a Natural RPC Server.

For more information, see the readme file in EntireX directory examples/RPC/NaturalServer under UNIX or Windows.