diff options
author | Tedd Hansen | 2008-01-09 17:13:02 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-09 17:13:02 +0000 |
commit | 260145a7e62d9d30bd74ee21288d36c95c8b0443 (patch) | |
tree | 7bdaa66ceffe71129968f506e2ab7af04eacc9d6 /OpenSim/Grid/ScriptServer/RemotingServer.cs | |
parent | Prim inventory script saving phase 2. (diff) | |
download | opensim-SC-260145a7e62d9d30bd74ee21288d36c95c8b0443.zip opensim-SC-260145a7e62d9d30bd74ee21288d36c95c8b0443.tar.gz opensim-SC-260145a7e62d9d30bd74ee21288d36c95c8b0443.tar.bz2 opensim-SC-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.cs | 7 |
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; | |||
4 | using System.Runtime.Remoting; | 4 | using System.Runtime.Remoting; |
5 | using System.Runtime.Remoting.Channels; | 5 | using System.Runtime.Remoting.Channels; |
6 | using System.Runtime.Remoting.Channels.Tcp; | 6 | using System.Runtime.Remoting.Channels.Tcp; |
7 | using OpenSim.Region.ScriptEngine.Common; | ||
7 | 8 | ||
8 | 9 | ||
9 | namespace OpenSim.Grid.ScriptServer | 10 | namespace 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 |