Package Gnumed :: Package proxiedpyjamas :: Module gmWebGuiServer
[frames] | no frames]

Module gmWebGuiServer

source code


Version: $Revision: 0.1 $

Author: S. Hilbert <Sebastian.Hilbert@gmx.net>

License: GPL v2 or later (details at http://www.gnu.org)

Classes
  cBackendProfile
  HTTPServer
An application instance containing any number of streams.
Functions
 
connect_to_database(login_info=None, max_attempts=3, expected_version=None, require_version=True)
Display the login dialog and try to log into the backend.
source code
 
GetLoginInfo(username=None, password=None, backend=None)
convenience function for compatibility with gmLoginInfo.LoginInfo
source code
 
main() source code
Variables
  __doc__ = """GNUmed web user interface server launch...
  PYJSDIR = os.path.join(PYJSDIR, 'pyjamas')
  DEFAULT_BACKEND = "GNUmed database on this machine (Linux/Mac)...

Imports: re, sys, time, cPickle, zlib, locale, os, pyDT, shutil, logging, urllib2, SimpleForkingJSONRPCServer, CloseConnection, gmDateTime, gmHooks, gmLoginInfo, gmBackendListener, gmTools, gmCfg2, gmI18N, gmDispatcher, gmBusinessDBObject, jsonclasshintify, gmPG2, gmDocuments, gmPerson, gmStaff, gmProviderInbox, gmPersonSearch


Function Details

connect_to_database(login_info=None, max_attempts=3, expected_version=None, require_version=True)

source code 
Display the login dialog and try to log into the backend.

- up to max_attempts times
- returns True/False


Variables Details

__doc__

Value:
"""GNUmed web user interface server launcher.
"""

DEFAULT_BACKEND

Value:
"GNUmed database on this machine (Linux/Mac) (gnumed_v19@)"