aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/ScriptServer/ScriptServerMain.cs')
-rw-r--r--OpenSim/Grid/ScriptServer/ScriptServerMain.cs15
1 files changed, 12 insertions, 3 deletions
diff --git a/OpenSim/Grid/ScriptServer/ScriptServerMain.cs b/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
index 1749376..8bba38a 100644
--- a/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
+++ b/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
@@ -34,17 +34,26 @@ namespace OpenSim.Grid.ScriptServer
34{ 34{
35 public class ScriptServerMain : conscmd_callback 35 public class ScriptServerMain : conscmd_callback
36 { 36 {
37 //
38 // Root object. Creates objects used.
39 //
40 private int listenPort = 1234;
37 private readonly string m_logFilename = ("region-console.log"); 41 private readonly string m_logFilename = ("region-console.log");
38 internal RegionCommManager RegionScriptDaemon; // Listen for incoming from region
39 internal ScriptEngineManager ScriptEngines; // Loads scriptengines
40 private LogBase m_log; 42 private LogBase m_log;
41 43
44 // Objects we use
45 internal RegionCommManager RegionScriptDaemon; // Listen for incoming from region
46 //internal ScriptEngineManager ScriptEngines; // Loads scriptengines
47 internal RemotingServer m_RemotingServer;
48
42 public ScriptServerMain() 49 public ScriptServerMain()
43 { 50 {
44 m_log = CreateLog(); 51 m_log = CreateLog();
45 52
46 RegionScriptDaemon = new RegionCommManager(this, m_log); 53 RegionScriptDaemon = new RegionCommManager(this, m_log);
47 ScriptEngines = new ScriptEngineManager(this, m_log); 54 //ScriptEngines = new ScriptEngineManager(this, m_log);
55 m_RemotingServer = new RemotingServer();
56 m_RemotingServer.CreateServer(listenPort, "DotNetEngine");
48 } 57 }
49 58
50 ~ScriptServerMain() 59 ~ScriptServerMain()