mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
Dynamic loading of ScriptEngine in ScriptServer
ScriptServer event pipe (OpenSim->ScriptServer->ScriptEngine) should in theory be done
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user