Ignore:
Timestamp:
06/29/10 11:31:19 (12 years ago)
Author:
sc
Message:

brainstorms:

  • comprehensive file and class renaming in response to conversions

from PyGame/Twisted? frameworks to Qt

File:
1 moved

Legend:

Unmodified
Added
Removed
  • remote_control/puzzlebox_brainstorms_server_twisted.py

    r71 r73  
    22# -*- coding: utf-8 -*- 
    33# 
    4 # Puzzlebox - Brainstorms - Server 
     4# Puzzlebox - Brainstorms - Server - Twisted 
    55# 
    66# Copyright Puzzlebox Productions, LLC (2010) 
     
    99# For more information please refer to http://www.gnu.org/copyleft/gpl.html 
    1010# 
    11 # Last Update: 2010.06.16 
     11# Last Update: 2010.06.28 
    1212# 
    1313##################################################################### 
     
    2929DEBUG = 1 
    3030 
    31 DISCRETE_CONTROL_COMMANDS = configuration.DISCRETE_CONTROL_COMMANDS 
     31DISCRETE_CONTROL_COMMANDS = configuration.BRAINSTORMS_DISCRETE_CONTROL_COMMANDS 
    3232 
    33 SERVER_INTERFACE = configuration.SERVER_INTERFACE 
    34 SERVER_PORT = configuration.SERVER_PORT 
     33SERVER_INTERFACE = configuration.BRAINSTORMS_SERVER_INTERFACE 
     34SERVER_PORT = configuration.BRAINSTORMS_SERVER_PORT 
     35 
     36BLUETOOTH_DEVICE = configuration.NXT_BLUETOOTH_DEVICE 
    3537 
    3638##################################################################### 
     
    3840##################################################################### 
    3941 
    40 class puzzlebox_brainstorms_server(protocol.ServerFactory): 
     42class puzzlebox_brainstorms_server_twisted(protocol.ServerFactory): 
    4143         
    4244        def __init__(self, log, DEBUG=DEBUG): 
     
    4547                self.DEBUG = DEBUG 
    4648                 
    47                 self.protocol = puzzlebox_brainstorms_server_protocol 
     49                self.protocol = puzzlebox_brainstorms_server_twisted_protocol 
    4850         
    4951         
     
    8082                #os.system(command_line) 
    8183                 
    82                 rc = remote_control.puzzlebox_brainstorms_rc( \ 
    83                         device=configuration.BLUETOOTH_DEVICE, \ 
     84                rc = remote_control.puzzlebox_brainstorms_remote_control( \ 
     85                        device=BLUETOOTH_DEVICE, \ 
    8486                        command=command, \ 
    8587                        DEBUG=DEBUG) 
     
    116118##################################################################### 
    117119 
    118 class puzzlebox_brainstorms_server_protocol(protocol.Protocol): 
     120class puzzlebox_brainstorms_server_twisted_protocol(protocol.Protocol): 
    119121         
    120122        def __init__(self): 
     
    186188         
    187189         
    188         server = puzzlebox_brainstorms_server(log, DEBUG=DEBUG) 
     190        server = puzzlebox_brainstorms_server_twisted(log, DEBUG=DEBUG) 
    189191         
    190192        if DEBUG: 
Note: See TracChangeset for help on using the changeset viewer.