Next: 5. Mapping for the Up: 4.14 Server-side Mapping Previous: 4.14 Server-side Mapping

## 4.14.1 Mapping for Interfaces

IDL interfaces map to Python skeleton classes that contain methods for every operation and attribute and defined on the interface. The skeleton class has the name of the IDL interface suffixed with ```_skel`''. Implementations use the skeleton via inheritance.

e.g. consider the following IDL:

    module Example {
        interface Foo {};
    };

The server implementor must make sure that the implementation class inherits from the skeleton class as follows:

    import Example_skel
    class FooImpl(Example_skel.Foo_skel):
        pass