CONGO AppServer

Class cserver

java.lang.Object
  extended bycserver

public class cserver
extends java.lang.Object


Constructor Summary
cserver()
          Create a listener on a specified port, and accept and respond to XMLRPC requests for CONGO operations.
 
Method Summary
 void dbConnect()
           
static void main(java.lang.String[] args)
           
 java.lang.String ping(java.lang.String whatToSay)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

cserver

public cserver()
        throws java.lang.Exception
Create a listener on a specified port, and accept and respond to XMLRPC requests for CONGO operations. This class is the main class for CONGO.
The following parameters may be set in the cserver.conf file, located in the top level CONGO directory (where build.xml resides). When running standalone via a congo.jar file, the cserver.conf file will be opened/saved in the default directory where the JVM was invoked.
Parameters are set within the file via the format 'parameter=value'. Note that the cserver.conf file is opened, read, and re-written on every startup, so extraneous comments or changes may be lost.
SettingDefaultDefinition
interfacejdbcWhich interface to use
drivermysqlDatabase driver. Currently only MYSQL is supported
hostnamelocalhostHostname for the database
dbnamecongoDatabase name
usernamecongoUsername
passwordcongoPassword
dboptsautoReconnent=trueConnection options
portnumber8081Port cserver should listen on for XMLRPC requests
mailnotifyNOGenerate mail when a transaction is complete?
badgeprintcommandlpr -PfargoCommand to pipe to to print badges
labelprintcommantlpr -PlabelCOmmand to pipe to to print labels
badgeclasstestbadgeWhich class to use for badges
quickregistrationYES
credentialusernamecongoCredential username
credentialpasswordtestingCredential password
preferredcid0Preferred conference
mailname0The 'Name' that shows up in outbound mail
mailcc0Default address for Ccing mail notifications to
enablekiosk0Should the Kiosk application be enabled?

Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

ping

public java.lang.String ping(java.lang.String whatToSay)

dbConnect

public void dbConnect()

CONGO AppServer

Copyright © 2004 Stonekeep Consulting, Inc.