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.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Grid/ScriptServer/RemotingServer.cs b/OpenSim/Grid/ScriptServer/RemotingServer.cs
index 33d8dc8..eb29740 100644
--- a/OpenSim/Grid/ScriptServer/RemotingServer.cs
+++ b/OpenSim/Grid/ScriptServer/RemotingServer.cs
@@ -4,17 +4,18 @@ using System.Text;
4using System.Runtime.Remoting; 4using System.Runtime.Remoting;
5using System.Runtime.Remoting.Channels; 5using System.Runtime.Remoting.Channels;
6using System.Runtime.Remoting.Channels.Tcp; 6using System.Runtime.Remoting.Channels.Tcp;
7using OpenSim.Region.ScriptEngine.Common;
7 8
8 9
9namespace OpenSim.Grid.ScriptServer 10namespace OpenSim.Grid.ScriptServer
10{ 11{
11 class RemotingServer 12 class RemotingServer
12 { 13 {
13 14 TcpChannel channel;
14 public void CreateServer(int port, string instanceName) 15 public RemotingServer(int port, string instanceName)
15 { 16 {
16 // Create an instance of a channel 17 // Create an instance of a channel
17 TcpChannel channel = new TcpChannel(port); 18 channel = new TcpChannel(port);
18 ChannelServices.RegisterChannel(channel, true); 19 ChannelServices.RegisterChannel(channel, true);
19 20
20 // Register as an available service with the name HelloWorld 21 // Register as an available service with the name HelloWorld