aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs b/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs
index 3c88c41..6fc6c5c 100644
--- a/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs
+++ b/OpenSim/Region/ScriptEngine/RemoteServer/RemoteServer.cs
@@ -4,6 +4,7 @@ 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
8namespace OpenSim.Region.ScriptEngine.RemoteServer 9namespace OpenSim.Region.ScriptEngine.RemoteServer
9{ 10{
@@ -12,7 +13,7 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer
12 // Handles connections to servers 13 // Handles connections to servers
13 // Create and returns server object 14 // Create and returns server object
14 15
15 public OpenSim.Grid.ScriptServer.RemotingObject Connect(string hostname, int port) 16 public ScriptServerInterfaces.ServerRemotingObject Connect(string hostname, int port)
16 { 17 {
17 // Create a channel for communicating w/ the remote object 18 // Create a channel for communicating w/ the remote object
18 // Notice no port is specified on the client 19 // Notice no port is specified on the client
@@ -29,8 +30,8 @@ namespace OpenSim.Region.ScriptEngine.RemoteServer
29 { 30 {
30 31
31 // Create an instance of the remote object 32 // Create an instance of the remote object
32 OpenSim.Grid.ScriptServer.RemotingObject obj = (OpenSim.Grid.ScriptServer.RemotingObject)Activator.GetObject( 33 ScriptServerInterfaces.ServerRemotingObject obj = (ScriptServerInterfaces.ServerRemotingObject)Activator.GetObject(
33 typeof(OpenSim.Grid.ScriptServer.RemotingObject), 34 typeof(ScriptServerInterfaces.ServerRemotingObject),
34 "tcp://" + hostname + ":" + port + "/DotNetEngine"); 35 "tcp://" + hostname + ":" + port + "/DotNetEngine");
35 36
36 // Use the object 37 // Use the object