RemotingObject.cs 1.1 KB

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using OpenSim.Region.Environment.Interfaces;
  5. using OpenSim.Region.ScriptEngine.Common;
  6. namespace OpenSim.Grid.ScriptServer
  7. {
  8. public class RemotingObject : MarshalByRefObject, ScriptServerInterfaces.ServerRemotingObject
  9. {
  10. // This object will be exposed over remoting. It is a singleton, so it exists only in as one instance.
  11. // Expose ScriptEngine directly for now ... this is not very secure :)
  12. // NOTE! CURRENTLY JUST HARDWIRED DOTNETENGINE!
  13. //private OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine SE =
  14. // new OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine();
  15. //public OpenSim.Region.ScriptEngine.Common.ScriptServerInterfaces.RemoteEvents Events =
  16. // (OpenSim.Region.ScriptEngine.Common.ScriptServerInterfaces.RemoteEvents)SE.m_EventManager;
  17. //private ScriptServerInterfaces.RemoteEvents _events = new abc;
  18. ScriptServerInterfaces.RemoteEvents ScriptServerInterfaces.ServerRemotingObject.Events()
  19. {
  20. return null;
  21. }
  22. }
  23. }