aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/RemotingServer.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-05-01 16:41:01 +0000
committerAdam Frisby2008-05-01 16:41:01 +0000
commitfc6c4dc399587f6f920d3f0759b1bd7a8b9b4ac8 (patch)
tree90a4799fa43e3761ffbe669d1d87837933d8db53 /OpenSim/Grid/ScriptServer/RemotingServer.cs
parent* Deletes my EventReader ScriptRewriter. It isn't required to rewrite the sc... (diff)
downloadopensim-SC_OLD-fc6c4dc399587f6f920d3f0759b1bd7a8b9b4ac8.zip
opensim-SC_OLD-fc6c4dc399587f6f920d3f0759b1bd7a8b9b4ac8.tar.gz
opensim-SC_OLD-fc6c4dc399587f6f920d3f0759b1bd7a8b9b4ac8.tar.bz2
opensim-SC_OLD-fc6c4dc399587f6f920d3f0759b1bd7a8b9b4ac8.tar.xz
* Cleaning code still.
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