mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Started work on CAPS support, now we have our first test capability, MapLayer requests are handled by CAPS.
This commit is contained in:
@@ -11,6 +11,7 @@ using OpenSim.Region.Scenes;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Caches;
|
||||
using OpenGrid.Framework.Communications;
|
||||
using OpenSim.Servers;
|
||||
|
||||
namespace SimpleApp
|
||||
{
|
||||
@@ -19,8 +20,8 @@ namespace SimpleApp
|
||||
private RegionInfo m_regionInfo;
|
||||
private List<OpenSim.Region.Scenes.ScenePresence> m_avatars;
|
||||
|
||||
public MyWorld(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regionInfo, AuthenticateSessionsBase authen, CommunicationsManager commsMan, AssetCache assetCach)
|
||||
: base(clientThreads, regionInfo, authen, commsMan, assetCach)
|
||||
public MyWorld(Dictionary<uint, IClientAPI> clientThreads, RegionInfo regionInfo, AuthenticateSessionsBase authen, CommunicationsManager commsMan, AssetCache assetCach, BaseHttpServer httpServer)
|
||||
: base(clientThreads, regionInfo, authen, commsMan, assetCach, httpServer)
|
||||
{
|
||||
m_regionInfo = regionInfo;
|
||||
m_avatars = new List<Avatar>();
|
||||
|
||||
@@ -56,15 +56,14 @@ namespace SimpleApp
|
||||
CommunicationsManager communicationsManager = new CommunicationsLocal(1000, 1000);
|
||||
|
||||
RegionInfo regionInfo = new RegionInfo( );
|
||||
|
||||
udpServer.LocalWorld = new MyWorld( packetServer.ClientAPIs, regionInfo, m_circuitManager, communicationsManager, assetCache );
|
||||
BaseHttpServer httpServer = new BaseHttpServer(simPort);
|
||||
udpServer.LocalWorld = new MyWorld( packetServer.ClientAPIs, regionInfo, m_circuitManager, communicationsManager, assetCache, httpServer );
|
||||
|
||||
// World world = new World(udpServer.PacketServer.ClientAPIs, regionInfo);
|
||||
// PhysicsScene physicsScene = new NullPhysicsScene();
|
||||
// world.PhysicsScene = physicsScene;
|
||||
// udpServer.LocalWorld = world;
|
||||
|
||||
BaseHttpServer httpServer = new BaseHttpServer( simPort );
|
||||
httpServer.AddXmlRPCHandler( "login_to_simulator", loginServer.XmlRpcLoginMethod );
|
||||
httpServer.Start();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user