diff options
author | Adam Frisby | 2008-05-01 18:04:42 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-01 18:04:42 +0000 |
commit | 20a9bf08f51351e1e0a9de94f184ff56cd572665 (patch) | |
tree | 52da64dab26353b903c8e4befed0178fa72a188b /OpenSim/Grid/ScriptServer/RemotingServer.cs | |
parent | More config cleanup in LaunchSLClient. (diff) | |
download | opensim-SC_OLD-20a9bf08f51351e1e0a9de94f184ff56cd572665.zip opensim-SC_OLD-20a9bf08f51351e1e0a9de94f184ff56cd572665.tar.gz opensim-SC_OLD-20a9bf08f51351e1e0a9de94f184ff56cd572665.tar.bz2 opensim-SC_OLD-20a9bf08f51351e1e0a9de94f184ff56cd572665.tar.xz |
* Rolled back a few changes.
Diffstat (limited to 'OpenSim/Grid/ScriptServer/RemotingServer.cs')
-rw-r--r-- | OpenSim/Grid/ScriptServer/RemotingServer.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Grid/ScriptServer/RemotingServer.cs b/OpenSim/Grid/ScriptServer/RemotingServer.cs index 9d75a83..7d0e334 100644 --- a/OpenSim/Grid/ScriptServer/RemotingServer.cs +++ b/OpenSim/Grid/ScriptServer/RemotingServer.cs | |||
@@ -31,10 +31,9 @@ using System.Runtime.Remoting.Channels.Tcp; | |||
31 | 31 | ||
32 | namespace OpenSim.Grid.ScriptServer | 32 | namespace OpenSim.Grid.ScriptServer |
33 | { | 33 | { |
34 | internal class RemotingServer | 34 | class RemotingServer |
35 | { | 35 | { |
36 | private readonly TcpChannel channel; | 36 | TcpChannel channel; |
37 | |||
38 | public RemotingServer(int port, string instanceName) | 37 | public RemotingServer(int port, string instanceName) |
39 | { | 38 | { |
40 | // Create an instance of a channel | 39 | // Create an instance of a channel |
@@ -43,9 +42,9 @@ namespace OpenSim.Grid.ScriptServer | |||
43 | 42 | ||
44 | // Register as an available service with the name HelloWorld | 43 | // Register as an available service with the name HelloWorld |
45 | RemotingConfiguration.RegisterWellKnownServiceType( | 44 | RemotingConfiguration.RegisterWellKnownServiceType( |
46 | typeof (RemotingObject), | 45 | typeof(RemotingObject), |
47 | instanceName, | 46 | instanceName, |
48 | WellKnownObjectMode.Singleton); | 47 | WellKnownObjectMode.Singleton); |
49 | } | 48 | } |
50 | } | 49 | } |
51 | } \ No newline at end of file | 50 | } |