MCPcopy Create free account
hub / github.com/LUX-Core/lux / AddRoute

Method AddRoute

src/cryptopp/channels.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19void 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/*
27class MessageRouteIterator

Callers 2

SecretShareFileFunction · 0.80
InformationDisperseFileFunction · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
insertMethod · 0.45

Tested by 2

SecretShareFileFunction · 0.64
InformationDisperseFileFunction · 0.64