- void seal() override;
- void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override;
- s4u::Link* create_link(const std::string& name, const std::vector<double>& bandwidths,
- s4u::Link::SharingPolicy policy) override;
- NetPoint* get_access_point() {return access_point_;}
-
-private:
- resource::LinkImpl* wifi_link_ = nullptr; // Representing the air media (there is no such thing in NS-3)
- NetPoint* access_point_ = nullptr; // Zone's gateway to the external world
+ void get_local_route(const NetPoint* src, const NetPoint* dst, Route* into, double* latency) override;
+ NetPoint* get_access_point() const { return access_point_; }