diff options
author | Tedd Hansen | 2007-12-30 22:57:27 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-12-30 22:57:27 +0000 |
commit | 5b8620d82fa1fa17bcd8b2ff6050c58d34509c77 (patch) | |
tree | 97ef10a05a0625bb384a09b7ce3d0a1ce5069c50 /OpenSim/Region/ScriptEngine | |
parent | server->script event path almost ready for remote scriptengine (translation t... (diff) | |
download | opensim-SC-5b8620d82fa1fa17bcd8b2ff6050c58d34509c77.zip opensim-SC-5b8620d82fa1fa17bcd8b2ff6050c58d34509c77.tar.gz opensim-SC-5b8620d82fa1fa17bcd8b2ff6050c58d34509c77.tar.bz2 opensim-SC-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 'OpenSim/Region/ScriptEngine')
3 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs b/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs index f0a3aa1..d539dc4 100644 --- a/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs | |||
@@ -33,6 +33,7 @@ using OpenSim.Framework; | |||
33 | namespace OpenSim.Region.ScriptEngine.RemoteServer | 33 | namespace OpenSim.Region.ScriptEngine.RemoteServer |
34 | { | 34 | { |
35 | /// <summary> | 35 | /// <summary> |
36 | /// Handles events from OpenSim. Uses RemoteServer to send commands. | ||
36 | /// </summary> | 37 | /// </summary> |
37 | [Serializable] | 38 | [Serializable] |
38 | internal class EventManager | 39 | internal class EventManager |
diff --git a/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs b/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs index 423e6be..1a528c8 100644 --- a/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs +++ b/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs | |||
@@ -9,6 +9,8 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer | |||
9 | { | 9 | { |
10 | class RemoteServer | 10 | class RemoteServer |
11 | { | 11 | { |
12 | // Handles connections to servers | ||
13 | // Create and returns server object | ||
12 | 14 | ||
13 | public OpenSim.Grid.ScriptServer.RemotingObject Connect(string hostname, int port) | 15 | public OpenSim.Grid.ScriptServer.RemotingObject Connect(string hostname, int port) |
14 | { | 16 | { |
diff --git a/OpenSim/Region/ScriptEngine/RemoteServer/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/RemoteServer/ScriptEngine.cs index 679d5d4..1853b65 100644 --- a/OpenSim/Region/ScriptEngine/RemoteServer/ScriptEngine.cs +++ b/OpenSim/Region/ScriptEngine/RemoteServer/ScriptEngine.cs | |||
@@ -35,7 +35,7 @@ using OpenSim.Region.Environment.Scenes; | |||
35 | namespace OpenSim.Region.ScriptEngine.RemoteServer | 35 | namespace OpenSim.Region.ScriptEngine.RemoteServer |
36 | { | 36 | { |
37 | /// <summary> | 37 | /// <summary> |
38 | /// This is the root object for ScriptEngine. Objects access each other trough this class. | 38 | /// This is the root object for RemoteServer. Objects access each other trough this class. |
39 | /// </summary> | 39 | /// </summary> |
40 | /// | 40 | /// |
41 | [Serializable] | 41 | [Serializable] |
@@ -43,7 +43,7 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer | |||
43 | { | 43 | { |
44 | internal Scene World; | 44 | internal Scene World; |
45 | internal EventManager m_EventManager; // Handles and queues incoming events from OpenSim | 45 | internal EventManager m_EventManager; // Handles and queues incoming events from OpenSim |
46 | internal RemoteServer m_RemoteServer; | 46 | internal RemoteServer m_RemoteServer; // Handles connections to remote servers |
47 | 47 | ||
48 | private LogBase m_log; | 48 | private LogBase m_log; |
49 | 49 | ||