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