Listing 1. IDL in PushString.idl File

// This is a very simple IDL file. It defines
// a single interface, called PushString, which
// contains a single function that takes a single
// input paramter of type string, which is mapped
// in c++ to a const char * (see PushString_i.h,
// for pushStr declaration in the implementation).

interface PushString
{
   boolean pushStr(in string inStr);
};