aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/RemotingServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/ScriptServer/RemotingServer.cs')
-rw-r--r--OpenSim/Grid/ScriptServer/RemotingServer.cs9
1 files changed, 5 insertions, 4 deletions
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;
31 31
32namespace OpenSim.Grid.ScriptServer 32namespace OpenSim.Grid.ScriptServer
33{ 33{
34 class RemotingServer 34 internal class RemotingServer
35 { 35 {
36 TcpChannel channel; 36 private readonly TcpChannel channel;
37
37 public RemotingServer(int port, string instanceName) 38 public RemotingServer(int port, string instanceName)
38 { 39 {
39 // Create an instance of a channel 40 // Create an instance of a channel
@@ -42,9 +43,9 @@ namespace OpenSim.Grid.ScriptServer
42 43
43 // Register as an available service with the name HelloWorld 44 // Register as an available service with the name HelloWorld
44 RemotingConfiguration.RegisterWellKnownServiceType( 45 RemotingConfiguration.RegisterWellKnownServiceType(
45 typeof(RemotingObject), 46 typeof (RemotingObject),
46 instanceName, 47 instanceName,
47 WellKnownObjectMode.Singleton); 48 WellKnownObjectMode.Singleton);
48 } 49 }
49 } 50 }
50} 51} \ No newline at end of file