sordServer (version 2.0-pysqlite, 18 August 2010)
index
/home/jtsage/sord/sordServer.py

Saga of the Red Dragon
 
* A blatent rip off of Seth Able Robinson's BBS Door Masterpiece.  
* All attempts were made to be as close to the original as possible, 
* including some original artwork, the original fight equations, and 
* most especially the original spelling and punctuation mistakes.  Enjoy.
 
* Main Server Program
 
* Memory Usage:  around 25M base, plus about 11M per client.
* Magic Number: 6179 / 6073
 
* (c) 2009 - 2011 J.T.Sage
* No Rights Reserved - but don't sell it please.

 
Modules
       
optparse
os
random
socket
sord
sqlite3
sys
threading
time
traceback

 
Classes
       
threading.Thread(threading._Verbose)
eachClient
telnetServe
webServe

 
class eachClient(threading.Thread)
    Actual client->server thread process
 
 
Method resolution order:
eachClient
threading.Thread
threading._Verbose
__builtin__.object

Methods defined here:
__init__(self, connection, config, log)
run(self)
Actual server->client thread process

Methods inherited from threading.Thread:
__repr__(self)
getName(self)
isAlive(self)
isDaemon(self)
is_alive = isAlive(self)
join(self, timeout=None)
setDaemon(self, daemonic)
setName(self, name)
start(self)

Data descriptors inherited from threading.Thread:
daemon
ident
name

Data descriptors inherited from threading._Verbose:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class telnetServe(threading.Thread)
    Telnet Server Thread Object
 
 
Method resolution order:
telnetServe
threading.Thread
threading._Verbose
__builtin__.object

Methods defined here:
__init__(self, sockobj, config, log)
run(self)

Methods inherited from threading.Thread:
__repr__(self)
getName(self)
isAlive(self)
isDaemon(self)
is_alive = isAlive(self)
join(self, timeout=None)
setDaemon(self, daemonic)
setName(self, name)
start(self)

Data descriptors inherited from threading.Thread:
daemon
ident
name

Data descriptors inherited from threading._Verbose:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class webServe(threading.Thread)
    
Method resolution order:
webServe
threading.Thread
threading._Verbose
__builtin__.object

Methods defined here:
__init__(self, config, log)
run(self)

Methods inherited from threading.Thread:
__repr__(self)
getName(self)
isAlive(self)
isDaemon(self)
is_alive = isAlive(self)
join(self, timeout=None)
setDaemon(self, daemonic)
setName(self, name)
start(self)

Data descriptors inherited from threading.Thread:
daemon
ident
name

Data descriptors inherited from threading._Verbose:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
sordLoop(config, log)
Main program loop, spawn telnetServe thread

 
Data
        __author__ = 'Jonathan T. Sage <jtsage@gmail.com>'
__credits__ = 'Seth Able Robinson, original game concept'
__date__ = '18 August 2010'
__version__ = '2.0-pysqlite'
config = <sord.config.config.sordConfig instance>
log = <sord.base.logger.sordLogger instance>
p = <optparse.OptionParser instance>
sockobj = <socket._socketobject object>

 
Author
        Jonathan T. Sage <jtsage@gmail.com>

 
Credits
        Seth Able Robinson, original game concept