| 302 | } |
| 303 | |
| 304 | int ServerImpl::m_handleUpdatedRoute(void *userdata, vrpn_HANDLERPARAM p) { |
| 305 | auto self = static_cast<ServerImpl *>(userdata); |
| 306 | OSVR_DEV_VERBOSE("Got an updated route from a client."); |
| 307 | self->m_addRoute(std::string(p.buffer, p.payload_len)); |
| 308 | return 0; |
| 309 | } |
| 310 | |
| 311 | bool ServerImpl::m_addRoute(std::string const &routingDirective) { |
| 312 | bool change = |
nothing calls this directly
no test coverage detected