예제 #1
0
파일: algorithm.py 프로젝트: darbula/pymote
 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)
예제 #2
0
 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)
예제 #3
0
 def add_edge(self):
     logger.warn('Edges are auto-calculated from channelType and commRange')
예제 #4
0
파일: network.py 프로젝트: engalex/pymote
 def add_edge(self):
     logger.warn('Edges are auto-calculated from channelType and commRange')