Listing 1: The passive servant interface.

// the passive servant interface
namespace YAMI
{
    class PassiveObject
    {
    public:
        virtual void call(IncomingMsg &msg) = 0;
    };
    // ...
}