mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
server->script event path almost ready for remote scriptengine (translation table between local script ID and remote script ID missing)
This commit is contained in:
24
OpenSim/Grid/ScriptServer/RemotingObject.cs
Normal file
24
OpenSim/Grid/ScriptServer/RemotingObject.cs
Normal file
@@ -0,0 +1,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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user