aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/RemotingObject.cs
blob: f095ca4e4541b7af69c98520f0dc0c7a0424a1d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Region.Environment.Interfaces;

namespace OpenSim.Grid.ScriptServer
{
    public class RemotingObject : MarshalByRefObject 
    {
        // This object will be exposed over remoting. It is a singleton, so it exists only in as one instance.

        // Expose ScriptEngine
        public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine ScriptEngine = new OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine();

        /// <summary>
        /// Receives calls from remote grids.
        /// </summary>
        /// <returns></returns>
        public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine GetScriptEngine()
        {
            return ScriptEngine;
        }
    }
}