Next Previous Up Top Contents Index

A.5.5 The Portable Object Adapter

A.5.5.1 Servants

Background

The PortableServer module for the Portable Object Adapter (POA) defines the native Servant type.

Specification

The Dylan mapping for the Servant type shall be the open abstract class portableserver/<servant>.

An IDL interface shall be mapped to a skeleton class that is a direct or indirect subclass of both the interface class itself and portableserver/<servant>.

The name of the skeleton class shall be formed by appending -servant to the interface name and applying the normal identifier mapping rules.

The skeleton class shall be exported from the skeletons library generated from the IDL.

Rationale

Only instances of subclasses of portableserver/<servant> should be created.

Examples

// Dylan Skeleton (generated from IDL)
define class <grid-servant>
  (<grid>, portableserver/<servant>)
end class;

// Dylan Implementation define class <grid-implementation> (<grid-servant>) end class;


Developing Component Software with CORBA - 26 May 1999

Next Previous Up Top Contents Index