From 3c9505199a1ff61a3fc9bf1bc6d9592276a8fda1 Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Mon, 31 Dec 2007 12:00:40 +0000 Subject: Set svn:eol-style and svn:ignore. --- OpenSim/Grid/ScriptServer/RemotingObject.cs | 50 +++++++++++++------------- OpenSim/Grid/ScriptServer/RemotingServer.cs | 56 ++++++++++++++--------------- 2 files changed, 53 insertions(+), 53 deletions(-) (limited to 'OpenSim/Grid') diff --git a/OpenSim/Grid/ScriptServer/RemotingObject.cs b/OpenSim/Grid/ScriptServer/RemotingObject.cs index 4c5a176..2a235bf 100644 --- a/OpenSim/Grid/ScriptServer/RemotingObject.cs +++ b/OpenSim/Grid/ScriptServer/RemotingObject.cs @@ -1,25 +1,25 @@ -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 directly for now ... this is not very secure :) - // NOTE! CURRENTLY JUST HARDWIRED DOTNETENGINE! - public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine ScriptEngine = new OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine(); - - /// - /// Receives calls from remote grids. - /// - /// - public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine GetScriptEngine() - { - return ScriptEngine; - } - } -} +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 directly for now ... this is not very secure :) + // NOTE! CURRENTLY JUST HARDWIRED DOTNETENGINE! + public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine ScriptEngine = new OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine(); + + /// + /// Receives calls from remote grids. + /// + /// + public OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine GetScriptEngine() + { + return ScriptEngine; + } + } +} diff --git a/OpenSim/Grid/ScriptServer/RemotingServer.cs b/OpenSim/Grid/ScriptServer/RemotingServer.cs index 3ec3e64..33d8dc8 100644 --- a/OpenSim/Grid/ScriptServer/RemotingServer.cs +++ b/OpenSim/Grid/ScriptServer/RemotingServer.cs @@ -1,28 +1,28 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Runtime.Remoting; -using System.Runtime.Remoting.Channels; -using System.Runtime.Remoting.Channels.Tcp; - - -namespace OpenSim.Grid.ScriptServer -{ - class RemotingServer - { - - public void CreateServer(int port, string instanceName) - { - // Create an instance of a channel - TcpChannel channel = new TcpChannel(port); - ChannelServices.RegisterChannel(channel, true); - - // Register as an available service with the name HelloWorld - RemotingConfiguration.RegisterWellKnownServiceType( - typeof(RemotingObject), - instanceName, - WellKnownObjectMode.Singleton); - - } - } -} +using System; +using System.Collections.Generic; +using System.Text; +using System.Runtime.Remoting; +using System.Runtime.Remoting.Channels; +using System.Runtime.Remoting.Channels.Tcp; + + +namespace OpenSim.Grid.ScriptServer +{ + class RemotingServer + { + + public void CreateServer(int port, string instanceName) + { + // Create an instance of a channel + TcpChannel channel = new TcpChannel(port); + ChannelServices.RegisterChannel(channel, true); + + // Register as an available service with the name HelloWorld + RemotingConfiguration.RegisterWellKnownServiceType( + typeof(RemotingObject), + instanceName, + WellKnownObjectMode.Singleton); + + } + } +} -- cgit v1.1