Magic World game server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
707 B

5 years ago
  1. #ifndef MW_SESSION_MANAGER_I_H
  2. #define MW_SESSION_MANAGER_I_H
  3. #include <Glacier2/Glacier2.h>
  4. #include <string>
  5. #include <MWMap.h>
  6. class MWSessionManagerI : public Glacier2::SessionManager
  7. {
  8. public:
  9. MWSessionManagerI(const std::shared_ptr<MWMap>&, bool trace, const std::shared_ptr<Ice::Logger>& logger);
  10. virtual std::shared_ptr<Glacier2::SessionPrx> create(std::string,
  11. std::shared_ptr<Glacier2::SessionControlPrx>,
  12. const Ice::Current&) override;
  13. private:
  14. const std::shared_ptr<MWMap> _MWMap;
  15. const bool _trace;
  16. const std::shared_ptr<Ice::Logger> _logger;
  17. };
  18. #endif