summaryrefslogtreecommitdiff
path: root/orkbasecxx/Config.h
diff options
context:
space:
mode:
authorGerald Begumisa <ben_g@users.sourceforge.net>2007-07-19 09:34:07 +0000
committerGerald Begumisa <ben_g@users.sourceforge.net>2007-07-19 09:34:07 +0000
commitabf1495c5e6e33a93a0277ef301643e7ff2ab4dd (patch)
treedc8a36564f3760f36060b5a1c0c9a6f07ef444fc /orkbasecxx/Config.h
parenta78ef547ae120f95a2569c9643cd60992ba547c7 (diff)
Multiple orkaudio instances may be ran on one server by setting the environment variables ORKAUDIO_CONFIG_PATH and ORKAUDIO_LOGGING_PATH to point to the location of the configuration files and log files respectively. Two variables in config.xml <CommandLineServerPort> and <HttpServerPort> have been added which specify the ports for the command line server and HTTP server respectively - these default to 59130 and 59140 respectively, note that previously the default ports were 10000 and 20000 respectively.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@455 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/Config.h')
-rw-r--r--orkbasecxx/Config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h
index 50271c9..1e0ac8b 100644
--- a/orkbasecxx/Config.h
+++ b/orkbasecxx/Config.h
@@ -86,6 +86,10 @@
#define REMOTE_PROCESSING_TCP_PORT_DEFAULT 20000
#define REMOTE_PROCESSING_SERVICE_NAME_PARAM "RemoteProcessingServiceName"
#define REMOTE_PROCESSING_SERVICE_NAME_DEFAULT "orkaudio"
+#define COMMAND_LINE_SERVER_PORT_PARAM "CommandLineServerPort"
+#define COMMAND_LINE_SERVER_PORT_DEFAULT 59130
+#define HTTP_SERVER_PORT_PARAM "HttpServerPort"
+#define HTTP_SERVER_PORT_DEFAULT 59140
class DLL_IMPORT_EXPORT_ORKBASE Config : public Object
{
@@ -136,6 +140,8 @@ public:
CStdString m_remoteProcessingHostname;
int m_remoteProcessingTcpPort;
CStdString m_remoteProcessingServiceName;
+ int m_commandLineServerPort;
+ int m_httpServerPort;
private:
log4cxx::LoggerPtr m_log;