[server] / trunk / server / src / appwoomera.cxx Repository:
ViewVC logotype

Diff of /trunk/server/src/appwoomera.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 20, Tue Mar 31 16:04:15 2009 UTC revision 21, Tue Mar 31 16:09:47 2009 UTC
# Line 66  Line 66 
66  /*!  /*!
67   *   *
68   */   */
69  void appwoomera_run()  void appwoomera_run(const GetOptions& opts)
70  {  {
71    
72            LOGDEBUG("appwoomera_run()");
73    
74            /* Command line options
75             */
76            std::string opt_woomera_port = opts.getValue("woomera-port");
77            if ( opt_woomera_port.empty() )
78            {
79                    opt_woomera_port = "42420";
80            }
81    
82          /* initialise woomera subsystem          /* initialise woomera subsystem
83           */           */
84          woomera_init();          woomera_init();
# Line 80  Line 91 
91          woomera_server_attr * attr = woomera_server_attr_new();          woomera_server_attr * attr = woomera_server_attr_new();
92          attr->server    = server;          attr->server    = server;
93          attr->callctlr  = callctlr;          attr->callctlr  = callctlr;
94          attr->port      = 42420;          attr->port      = atoi(opt_woomera_port.c_str());
95          attr->timeout   = 1000;          attr->timeout   = 1000;
96          attr->callback  = 0;    /* function that checks apps own fdS, called by the server poll loop */          attr->callback  = 0;    /* function that checks apps own fdS, called by the server poll loop */
97          attr->user_data = 0;          attr->user_data = 0;

Legend:
Removed from v.20  
changed lines
  Added in v.21

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.8