From fc6c4dc399587f6f920d3f0759b1bd7a8b9b4ac8 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 1 May 2008 16:41:01 +0000 Subject: * Cleaning code still. --- OpenSim/Grid/ScriptServer/RemotingServer.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'OpenSim/Grid/ScriptServer/RemotingServer.cs') diff --git a/OpenSim/Grid/ScriptServer/RemotingServer.cs b/OpenSim/Grid/ScriptServer/RemotingServer.cs index 7d0e334..9d75a83 100644 --- a/OpenSim/Grid/ScriptServer/RemotingServer.cs +++ b/OpenSim/Grid/ScriptServer/RemotingServer.cs @@ -31,9 +31,10 @@ using System.Runtime.Remoting.Channels.Tcp; namespace OpenSim.Grid.ScriptServer { - class RemotingServer + internal class RemotingServer { - TcpChannel channel; + private readonly TcpChannel channel; + public RemotingServer(int port, string instanceName) { // Create an instance of a channel @@ -42,9 +43,9 @@ namespace OpenSim.Grid.ScriptServer // Register as an available service with the name HelloWorld RemotingConfiguration.RegisterWellKnownServiceType( - typeof(RemotingObject), + typeof (RemotingObject), instanceName, WellKnownObjectMode.Singleton); } } -} +} \ No newline at end of file -- cgit v1.1