![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <pathselection/PathSelectionOverVPS.hpp>


Public Member Functions | |
| virtual void | closePeerLink (const wns::service::dll::UnicastAddress myself, const wns::service::dll::UnicastAddress peer) |
| Tear-down of unidirectional link, throw error if the link does not exist. | |
| virtual void | createPeerLink (const wns::service::dll::UnicastAddress myself, const wns::service::dll::UnicastAddress peer, const Metric linkMetric=Metric(1)) |
| Setup a new unidirectional link. | |
| virtual void | deRegisterProxy (const wns::service::dll::UnicastAddress server, const wns::service::dll::UnicastAddress client) |
| Deregisters client as being proxied by server. | |
| virtual wns::service::dll::UnicastAddress | getNextHop (const wns::service::dll::UnicastAddress current, const wns::service::dll::UnicastAddress finalDestination) |
| Query the path selection table. | |
| virtual wns::service::dll::UnicastAddress | getPortalFor (const wns::service::dll::UnicastAddress address) |
| Returns the Portal for address if address is a known client of a known Portal (which is connected to the RANG); invalid address otherwise. | |
| virtual wns::service::dll::UnicastAddress | getProxyFor (const wns::service::dll::UnicastAddress address) |
| Returns the proxy MP for address if address is a known client of a known MP; invalid address otherwise. | |
| virtual bool | isMeshPoint (const wns::service::dll::UnicastAddress address) const |
| Returns true if address is a known MP, false otherwise. | |
| virtual bool | isPortal (const wns::service::dll::UnicastAddress address) const |
| Returns true if address is a known Portal, false otherwise. | |
| PathSelectionOverVPS (wns::ldk::ManagementServiceRegistry *, const wns::pyconfig::View &config) | |
| virtual void | registerMP (const wns::service::dll::UnicastAddress address) |
| Register MP. | |
| virtual void | registerPortal (const wns::service::dll::UnicastAddress address, dll::APUpperConvergence *apUC) |
| Register Portal. | |
| virtual void | registerProxy (const wns::service::dll::UnicastAddress server, const wns::service::dll::UnicastAddress client) |
| Registers client as being proxied by server. | |
| virtual void | updatePeerLink (const wns::service::dll::UnicastAddress myself, const wns::service::dll::UnicastAddress peer, const Metric linkMetric=Metric(1)) |
| Update a unidirectional link, throw error if the link does not exist. | |
| virtual | ~PathSelectionOverVPS () |
Private Member Functions | |
| void | onAssociated (const wns::service::dll::UnicastAddress clientAdr, const wns::service::dll::UnicastAddress serverAdr) |
| Implementation of dll::services::control::AssociationObserver. | |
| void | onDisassociated (const wns::service::dll::UnicastAddress clientAdr, const wns::service::dll::UnicastAddress serverAdr) |
| void | onMSRCreated () |
Private Attributes | |
| wns::logger::Logger | logger |
| std::string | upperConvergenceName |
Definition at line 51 of file PathSelectionOverVPS.hpp.
| PathSelectionOverVPS::PathSelectionOverVPS | ( | wns::ldk::ManagementServiceRegistry * | msr, | |
| const wns::pyconfig::View & | config | |||
| ) |
Definition at line 41 of file PathSelectionOverVPS.cpp.
| virtual wifimac::pathselection::PathSelectionOverVPS::~PathSelectionOverVPS | ( | ) | [inline, virtual] |
Definition at line 58 of file PathSelectionOverVPS.hpp.
| void PathSelectionOverVPS::closePeerLink | ( | const wns::service::dll::UnicastAddress | myself, | |
| const wns::service::dll::UnicastAddress | peer | |||
| ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 176 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::createPeerLink | ( | const wns::service::dll::UnicastAddress | myself, | |
| const wns::service::dll::UnicastAddress | peer, | |||
| const Metric | linkMetric = Metric(1) | |||
| ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 155 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::deRegisterProxy | ( | const wns::service::dll::UnicastAddress | server, | |
| const wns::service::dll::UnicastAddress | client | |||
| ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 145 of file PathSelectionOverVPS.cpp.
| wns::service::dll::UnicastAddress PathSelectionOverVPS::getNextHop | ( | const wns::service::dll::UnicastAddress | current, | |
| const wns::service::dll::UnicastAddress | finalDestination | |||
| ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 75 of file PathSelectionOverVPS.cpp.
| wns::service::dll::UnicastAddress PathSelectionOverVPS::getPortalFor | ( | const wns::service::dll::UnicastAddress | address | ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 102 of file PathSelectionOverVPS.cpp.
| wns::service::dll::UnicastAddress PathSelectionOverVPS::getProxyFor | ( | const wns::service::dll::UnicastAddress | address | ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 110 of file PathSelectionOverVPS.cpp.
| bool PathSelectionOverVPS::isMeshPoint | ( | const wns::service::dll::UnicastAddress | address | ) | const [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 86 of file PathSelectionOverVPS.cpp.
| bool PathSelectionOverVPS::isPortal | ( | const wns::service::dll::UnicastAddress | address | ) | const [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 94 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::onAssociated | ( | const wns::service::dll::UnicastAddress | clientAdr, | |
| const wns::service::dll::UnicastAddress | serverAdr | |||
| ) | [private] |
Definition at line 185 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::onDisassociated | ( | const wns::service::dll::UnicastAddress | clientAdr, | |
| const wns::service::dll::UnicastAddress | serverAdr | |||
| ) | [private] |
Definition at line 195 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::onMSRCreated | ( | ) | [private, virtual] |
Reimplemented from wns::ldk::ManagementService.
Definition at line 50 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::registerMP | ( | const wns::service::dll::UnicastAddress | address | ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 128 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::registerPortal | ( | const wns::service::dll::UnicastAddress | address, | |
| dll::APUpperConvergence * | apUC | |||
| ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 136 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::registerProxy | ( | const wns::service::dll::UnicastAddress | server, | |
| const wns::service::dll::UnicastAddress | client | |||
| ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 118 of file PathSelectionOverVPS.cpp.
| void PathSelectionOverVPS::updatePeerLink | ( | const wns::service::dll::UnicastAddress | myself, | |
| const wns::service::dll::UnicastAddress | peer, | |||
| const Metric | linkMetric = Metric(1) | |||
| ) | [virtual] |
Implements wifimac::pathselection::IPathSelection.
Definition at line 165 of file PathSelectionOverVPS.cpp.
Definition at line 108 of file PathSelectionOverVPS.hpp.
std::string wifimac::pathselection::PathSelectionOverVPS::upperConvergenceName [private] |
Definition at line 109 of file PathSelectionOverVPS.hpp.
1.5.5