From 5b8620d82fa1fa17bcd8b2ff6050c58d34509c77 Mon Sep 17 00:00:00 2001
From: Tedd Hansen
Date: Sun, 30 Dec 2007 22:57:27 +0000
Subject: 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.
---
OpenSim/Region/ScriptEngine/RemoteServer/EventManager.cs | 1 +
OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs | 2 ++
OpenSim/Region/ScriptEngine/RemoteServer/ScriptEngine.cs | 4 ++--
3 files changed, 5 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Region')
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;
namespace OpenSim.Region.ScriptEngine.RemoteServer
{
///
+ /// Handles events from OpenSim. Uses RemoteServer to send commands.
///
[Serializable]
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
{
class RemoteServer
{
+ // Handles connections to servers
+ // Create and returns server object
public OpenSim.Grid.ScriptServer.RemotingObject Connect(string hostname, int port)
{
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;
namespace OpenSim.Region.ScriptEngine.RemoteServer
{
///
- /// This is the root object for ScriptEngine. Objects access each other trough this class.
+ /// This is the root object for RemoteServer. Objects access each other trough this class.
///
///
[Serializable]
@@ -43,7 +43,7 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer
{
internal Scene World;
internal EventManager m_EventManager; // Handles and queues incoming events from OpenSim
- internal RemoteServer m_RemoteServer;
+ internal RemoteServer m_RemoteServer; // Handles connections to remote servers
private LogBase m_log;
--
cgit v1.1