Ignore:
Timestamp:
06/29/10 11:31:19 (11 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_client_twisted.py

    r71 r73  
    22# -*- coding: utf-8 -*- 
    33# 
    4 # Puzzlebox - Brainstorms - Client 
     4# Puzzlebox - Brainstorms - Client - 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##################################################################### 
     
    2828DEBUG = 1 
    2929 
    30 SERVER_HOST = configuration.SERVER_HOST 
    31 SERVER_PORT = configuration.SERVER_PORT 
    32  
    33 MAX_CONNECTION_ATTEMPTS = configuration.MAX_CONNECTION_ATTEMPTS 
    34 NO_REPLY_WAIT = configuration.NO_REPLY_WAIT 
     30SERVER_HOST = configuration.BRAINSTORMS_SERVER_HOST 
     31SERVER_PORT = configuration.BRAINSTORMS_SERVER_PORT 
     32 
     33MAX_CONNECTION_ATTEMPTS = configuration.TWISTED_CLIENT_MAX_CONNECTION_ATTEMPTS 
     34NO_REPLY_WAIT = configuration.TWISTED_CLIENT_NO_REPLY_WAIT 
    3535 
    3636##################################################################### 
     
    3838##################################################################### 
    3939 
    40 class puzzlebox_brainstorms_client: 
     40class puzzlebox_brainstorms_client_twisted: 
    4141         
    4242        def __init__(self, log, \ 
     
    5757                         max_connection_attempts=MAX_CONNECTION_ATTEMPTS): 
    5858                 
    59                 factory = puzzlebox_brainstorms_client_send_command_factory(self.log, \ 
     59                factory = puzzlebox_brainstorms_client_twisted_factory(self.log, \ 
    6060                                                       command, \ 
    6161                                                       self.server_host, \ 
     
    7373##################################################################### 
    7474 
    75 class puzzlebox_brainstorms_client_send_command_protocol(protocol.Protocol): 
     75class puzzlebox_brainstorms_client_twisted_protocol(protocol.Protocol): 
    7676         
    7777        def __init__(self): 
     
    144144##################################################################### 
    145145 
    146 class puzzlebox_brainstorms_client_send_command_factory(protocol.ClientFactory): 
     146class puzzlebox_brainstorms_client_twisted_factory(protocol.ClientFactory): 
    147147         
    148148        def __init__(self, log, \ 
     
    163163                 
    164164                self.protocol = \ 
    165                    puzzlebox_brainstorms_client_send_command_protocol 
     165                   puzzlebox_brainstorms_client_twisted_protocol 
    166166                 
    167167                self.replyDefer = defer.Deferred() 
     
    209209##################################################################### 
    210210 
    211 class puzzlebox_brainstorms_client_command_line(puzzlebox_brainstorms_client): 
     211class puzzlebox_brainstorms_client_twisted_command_line(puzzlebox_brainstorms_client_twisted): 
    212212         
    213213        def __init__(self, log, \ 
     
    276276        #log.info("Command parameters: %s" % command_parameters) 
    277277         
    278         client = puzzlebox_brainstorms_client_command_line(log, \ 
     278        client = puzzlebox_brainstorms_client_twisted_command_line(log, \ 
    279279                                                           command_parameters, \ 
    280280                                                           server_host=SERVER_HOST, \ 
Note: See TracChangeset for help on using the changeset viewer.