start_client Namespace Reference


Classes

class  MyClient

Functions

def daemonize
def start


Function Documentation

def start_client::daemonize   verbose,
  stdout = '/dev/null',
  stderr = None,
  stdin = '/dev/null',
  pidfile = None,
  startmsg = 'Client daemon started with pid %s'
 

This function creates a daemon by forking the current process. The parameters stdin, stdout, and stderr are file names which substitute the standard err-, in-, out- output. This parameters are optional and point normally to /dev/null. Note that stderr is opened unbuffered, so if it shares a file with stdout then interleaved output may not appear in the order that you expect.
    
source: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/66012
modified by a.weise November 2005

Definition at line 277 of file start_client.py.

def start_client::start  ) 
 

Start the application.

Definition at line 334 of file start_client.py.


Generated on Sun Mar 5 15:54:49 2006 for Client by  doxygen 1.4.6-NO