diff options
Diffstat (limited to 'OpenSim/Grid/ScriptServer/ScriptServer/Region/RegionConnectionManager.cs')
-rw-r--r-- | OpenSim/Grid/ScriptServer/ScriptServer/Region/RegionConnectionManager.cs | 36 |
1 files changed, 18 insertions, 18 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 | } |