- virtual StorageAction* write(surf_file_t fd, sg_size_t size) = 0;
-
- /**
- * @brief Get the content of the current Storage
- *
- * @return A xbt_dict_t with path as keys and size in bytes as values
- */
- virtual std::map<std::string, sg_size_t*>* getContent();
-
- /**
- * @brief Get the available size in bytes of the current Storage
- *
- * @return The available size in bytes of the current Storage
- */
- virtual sg_size_t getFreeSize();
-
- /**
- * @brief Get the used size in bytes of the current Storage
- *
- * @return The used size in bytes of the current Storage
- */
- virtual sg_size_t getUsedSize();
+ virtual StorageAction* write(sg_size_t size) = 0;
+ virtual std::string getHost() { return attach_; }