aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/ScriptServerMain.cs
diff options
context:
space:
mode:
authorTedd Hansen2007-12-30 22:57:27 +0000
committerTedd Hansen2007-12-30 22:57:27 +0000
commit5b8620d82fa1fa17bcd8b2ff6050c58d34509c77 (patch)
tree97ef10a05a0625bb384a09b7ce3d0a1ce5069c50 /OpenSim/Grid/ScriptServer/ScriptServerMain.cs
parentserver->script event path almost ready for remote scriptengine (translation t... (diff)
downloadopensim-SC_OLD-5b8620d82fa1fa17bcd8b2ff6050c58d34509c77.zip
opensim-SC_OLD-5b8620d82fa1fa17bcd8b2ff6050c58d34509c77.tar.gz
opensim-SC_OLD-5b8620d82fa1fa17bcd8b2ff6050c58d34509c77.tar.bz2
opensim-SC_OLD-5b8620d82fa1fa17bcd8b2ff6050c58d34509c77.tar.xz
Comments + fix = in theory stand alone script server + "RemoteSevrver" ScriptEngine (as opposed to "DotNetEngine") should work for a single region. It will however not work because it doesn't have two-way communication.
Diffstat (limited to '')
-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()