Dynamic loading of ScriptEngine in ScriptServer

ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
This commit is contained in:
Tedd Hansen
2008-01-09 17:13:02 +00:00
parent 796ae57bea
commit 260145a7e6
8 changed files with 37 additions and 188 deletions

View File

@@ -4,17 +4,18 @@ using System.Text;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;
using OpenSim.Region.ScriptEngine.Common;
namespace OpenSim.Grid.ScriptServer
{
class RemotingServer
{
public void CreateServer(int port, string instanceName)
TcpChannel channel;
public RemotingServer(int port, string instanceName)
{
// Create an instance of a channel
TcpChannel channel = new TcpChannel(port);
channel = new TcpChannel(port);
ChannelServices.RegisterChannel(channel, true);
// Register as an available service with the name HelloWorld