diff options
author | lbsa71 | 2007-10-15 07:01:22 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-15 07:01:22 +0000 |
commit | 1294da6a930edb86bfa4d3fb120b5a88b65b4aab (patch) | |
tree | 4bae944a5190a7c952b3f82038c575b753a3410f /OpenSim/Grid/ScriptServer | |
parent | * Chillken Patch #417 - upgraded version numbers to 0.4 - thanks Chillken! (diff) | |
download | opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.zip opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.tar.gz opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.tar.bz2 opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.tar.xz |
* Applied Chillken patch #418 : newline-r2092.patch ; failed on assemblyinfo tho. Thanxs Chillken!
Diffstat (limited to 'OpenSim/Grid/ScriptServer')
-rw-r--r-- | OpenSim/Grid/ScriptServer/ScriptServer/Region/RegionConnectionManager.cs | 36 | ||||
-rw-r--r-- | OpenSim/Grid/ScriptServer/ScriptServer/RegionCommManager.cs | 4 |
2 files changed, 20 insertions, 20 deletions
diff --git a/OpenSim/Grid/ScriptServer/ScriptServer/Region/RegionConnectionManager.cs b/OpenSim/Grid/ScriptServer/ScriptServer/Region/RegionConnectionManager.cs index 09e6f7b..7aaa607 100644 --- a/OpenSim/Grid/ScriptServer/ScriptServer/Region/RegionConnectionManager.cs +++ b/OpenSim/Grid/ScriptServer/ScriptServer/Region/RegionConnectionManager.cs | |||
@@ -1,34 +1,34 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using OpenSim.Framework.Console; | 4 | using OpenSim.Framework.Console; |
5 | 5 | ||
6 | namespace OpenSim.Grid.ScriptServer | 6 | namespace OpenSim.Grid.ScriptServer |
7 | { | 7 | { |
8 | // Maintains connection and communication to a region | 8 | // Maintains connection and communication to a region |
9 | public class RegionConnectionManager: RegionBase | 9 | public class RegionConnectionManager: RegionBase |
10 | { | 10 | { |
11 | private LogBase m_log; | 11 | private LogBase m_log; |
12 | private ScriptServerMain m_ScriptServerMain; | 12 | private ScriptServerMain m_ScriptServerMain; |
13 | private object m_Connection; | 13 | private object m_Connection; |
14 | public RegionConnectionManager(ScriptServerMain scm, LogBase logger, object Connection) | 14 | public RegionConnectionManager(ScriptServerMain scm, LogBase logger, object Connection) |
15 | { | 15 | { |
16 | m_ScriptServerMain = scm; | 16 | m_ScriptServerMain = scm; |
17 | m_log = logger; | 17 | m_log = logger; |
18 | m_Connection = Connection; | 18 | m_Connection = Connection; |
19 | } | 19 | } |
20 | 20 | ||
21 | private void DataReceived(object objectID, object scriptID) | 21 | private void DataReceived(object objectID, object scriptID) |
22 | { | 22 | { |
23 | // TODO: HOW DO WE RECEIVE DATA? ASYNC? | 23 | // TODO: HOW DO WE RECEIVE DATA? ASYNC? |
24 | // ANYHOW WE END UP HERE? | 24 | // ANYHOW WE END UP HERE? |
25 | 25 | ||
26 | // NEW SCRIPT? ASK SCRIPTENGINE TO INITIALIZE IT | 26 | // NEW SCRIPT? ASK SCRIPTENGINE TO INITIALIZE IT |
27 | ScriptRez(); | 27 | ScriptRez(); |
28 | 28 | ||
29 | // EVENT? DELIVER EVENT DIRECTLY TO SCRIPTENGINE | 29 | // EVENT? DELIVER EVENT DIRECTLY TO SCRIPTENGINE |
30 | touch_start(); | 30 | touch_start(); |
31 | 31 | ||
32 | } | 32 | } |
33 | 33 | ||
34 | } | 34 | } |
diff --git a/OpenSim/Grid/ScriptServer/ScriptServer/RegionCommManager.cs b/OpenSim/Grid/ScriptServer/ScriptServer/RegionCommManager.cs index 63701db..ac56fbe 100644 --- a/OpenSim/Grid/ScriptServer/ScriptServer/RegionCommManager.cs +++ b/OpenSim/Grid/ScriptServer/ScriptServer/RegionCommManager.cs | |||
@@ -38,7 +38,7 @@ namespace OpenSim.Grid.ScriptServer | |||
38 | { | 38 | { |
39 | private Thread listenThread; | 39 | private Thread listenThread; |
40 | 40 | ||
41 | private List<RegionConnectionManager> Regions = new List<RegionConnectionManager>(); | 41 | private List<RegionConnectionManager> Regions = new List<RegionConnectionManager>(); |
42 | 42 | ||
43 | private LogBase m_log; | 43 | private LogBase m_log; |
44 | private ScriptServerMain m_ScriptServerMain; | 44 | private ScriptServerMain m_ScriptServerMain; |
@@ -94,7 +94,7 @@ namespace OpenSim.Grid.ScriptServer | |||
94 | // - Add script to shared communication channel towards that region | 94 | // - Add script to shared communication channel towards that region |
95 | 95 | ||
96 | 96 | ||
97 | // TODO: FAKING A CONNECTION | 97 | // TODO: FAKING A CONNECTION |
98 | Regions.Add(new RegionConnectionManager(m_ScriptServerMain, m_log, null)); | 98 | Regions.Add(new RegionConnectionManager(m_ScriptServerMain, m_log, null)); |
99 | } | 99 | } |
100 | 100 | ||