aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/ScriptServer/RemotingServer.cs
diff options
context:
space:
mode:
authorTedd Hansen2008-01-09 17:13:02 +0000
committerTedd Hansen2008-01-09 17:13:02 +0000
commit260145a7e62d9d30bd74ee21288d36c95c8b0443 (patch)
tree7bdaa66ceffe71129968f506e2ab7af04eacc9d6 /OpenSim/Grid/ScriptServer/RemotingServer.cs
parentPrim inventory script saving phase 2. (diff)
downloadopensim-SC_OLD-260145a7e62d9d30bd74ee21288d36c95c8b0443.zip
opensim-SC_OLD-260145a7e62d9d30bd74ee21288d36c95c8b0443.tar.gz
opensim-SC_OLD-260145a7e62d9d30bd74ee21288d36c95c8b0443.tar.bz2
opensim-SC_OLD-260145a7e62d9d30bd74ee21288d36c95c8b0443.tar.xz
Dynamic loading of ScriptEngine in ScriptServer
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
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