aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/RemotingObject.cs
blob: 915d0207ee7552e8ca52e2c32b1b5c177e8070d9 (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
25
26
27
using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Region.Environment.Interfaces;
using OpenSim.Region.ScriptEngine.Common;

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

        // Expose ScriptEngine directly for now ... this is not very secure :)
        // NOTE! CURRENTLY JUST HARDWIRED DOTNETENGINE!
        //private OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine SE =
        //    new OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine();
        //public OpenSim.Region.ScriptEngine.Common.ScriptServerInterfaces.RemoteEvents Events = 
        //    (OpenSim.Region.ScriptEngine.Common.ScriptServerInterfaces.RemoteEvents)SE.m_EventManager;

        //private ScriptServerInterfaces.RemoteEvents _events = new abc;

        ScriptServerInterfaces.RemoteEvents ScriptServerInterfaces.ServerRemotingObject.Events()
        {
            return null;
        }
    }
}