#ifndef MW_SESSION_I_H #define MW_SESSION_I_H #include #include class MWSessionI : public MW::MWSession { public: MWSessionI(const std::shared_ptr&, const std::string&, bool trace, const std::shared_ptr& logger); virtual void setCallback(std::shared_ptr, const Ice::Current&) override; virtual long long send(std::string, const Ice::Current&) override; virtual void destroy(const Ice::Current&) override; private: const std::shared_ptr _MWMap; const std::string _name; std::shared_ptr _callback; bool _destroy = false; std::mutex _mutex; const bool _trace; const std::shared_ptr _logger; }; #endif