def _forward_message(self, node, message): try: message.nexthop = node.memory['routing'][message.destination] except KeyError: logger.warn('Missing routing table or destination node not in it.') else: node.send(message)
def add_edge(self): logger.warn('Edges are auto-calculated from channelType and commRange')