mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Cleaning code still.
This commit is contained in:
@@ -31,9 +31,10 @@ using System.Runtime.Remoting.Channels.Tcp;
|
||||
|
||||
namespace OpenSim.Grid.ScriptServer
|
||||
{
|
||||
class RemotingServer
|
||||
internal class RemotingServer
|
||||
{
|
||||
TcpChannel channel;
|
||||
private readonly TcpChannel channel;
|
||||
|
||||
public RemotingServer(int port, string instanceName)
|
||||
{
|
||||
// Create an instance of a channel
|
||||
@@ -42,9 +43,9 @@ namespace OpenSim.Grid.ScriptServer
|
||||
|
||||
// Register as an available service with the name HelloWorld
|
||||
RemotingConfiguration.RegisterWellKnownServiceType(
|
||||
typeof(RemotingObject),
|
||||
typeof (RemotingObject),
|
||||
instanceName,
|
||||
WellKnownObjectMode.Singleton);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user