beautypg.com

Idl compiler – Nokia M2M PLATFORM User Manual

Page 23

background image

9. IDL

COMPILER

The Nokia M2M ADK includes an IDL compiler for the embedded application
development. The IDL compiler is a program that reads IDL files and produces
the necessary programming language-specific files: skeletons and stubs. These
translate message data into a form that is appropriate for cross-platform
messaging. This is described in Figure 5. The block arrows show that a client
code-calling a method on the server only sees a local method call, which is no
different from the mundane method-calls in non-distributed programming. The
ORB, together with the generated stub and skeleton code, hides the distribution
completely.

Client

Server

Stub

Skeleton

ORB

ORB

Request

IDL

Figure 5. Stub and skeleton files

19/21