aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/RemotingObject.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/ScriptServer/RemotingObject.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/OpenSim/Grid/ScriptServer/RemotingObject.cs b/OpenSim/Grid/ScriptServer/RemotingObject.cs
new file mode 100644
index 0000000..f095ca4
--- /dev/null
+++ b/OpenSim/Grid/ScriptServer/RemotingObject.cs
@@ -0,0 +1,24 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using OpenSim.Region.Environment.Interfaces;
5
6namespace OpenSim.Grid.ScriptServer
7{
8 public class RemotingObject : MarshalByRefObject
9 {
10 // This object will be exposed over remoting. It is a singleton, so it exists only in as one instance.
11
12 // Expose ScriptEngine
13 public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine ScriptEngine = new OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine();
14
15 /// <summary>
16 /// Receives calls from remote grids.
17 /// </summary>
18 /// <returns></returns>
19 public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine GetScriptEngine()
20 {
21 return ScriptEngine;
22 }
23 }
24}