| 17 | } |
| 18 | |
| 19 | void MessageSwitch::AddRoute(unsigned int begin, unsigned int end, BufferedTransformation &destination, const std::string &channel) |
| 20 | { |
| 21 | RangeRoute route(begin, end, Route(&destination, channel)); |
| 22 | RouteList::iterator it = upper_bound(m_routes.begin(), m_routes.end(), route); |
| 23 | m_routes.insert(it, route); |
| 24 | } |
| 25 | |
| 26 | /* |
| 27 | class MessageRouteIterator |