Ejemplo n.º 1
0
def Cast(speed):
    logging.debug('Broadcasting speed to public')
    BikeChallengeRouter.broadcast(BikeConnection.clients, {'speed': speed.getSpeed(), 'revolutions':speed.getRev()})
Ejemplo n.º 2
0
def Cast(speed):
    BikeChallengeRouter.broadcast(BikeConnection.clients, {'speed': speed.getSpeed(), 'revolutions':speed.getRev()})