2007-05-31 13:45:18 +00:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Text;
|
2007-06-09 21:04:13 +00:00
|
|
|
|
2007-05-31 13:45:18 +00:00
|
|
|
using OpenSim.Framework;
|
|
|
|
using OpenSim.Framework.Types;
|
|
|
|
|
2007-06-09 21:04:13 +00:00
|
|
|
using libsecondlife;
|
|
|
|
|
|
|
|
namespace OpenGrid.Framework.Communications.GridServer
|
2007-05-31 13:45:18 +00:00
|
|
|
{
|
2007-06-09 21:04:13 +00:00
|
|
|
public class GridCommsManagerLocal : GridCommsManagerBase
|
2007-05-31 13:45:18 +00:00
|
|
|
{
|
2007-06-11 09:53:34 +00:00
|
|
|
private LocalBackEndServices sandBoxManager;
|
2007-05-31 13:45:18 +00:00
|
|
|
|
2007-06-11 09:53:34 +00:00
|
|
|
public GridCommsManagerLocal(LocalBackEndServices sandManager)
|
2007-06-10 18:51:45 +00:00
|
|
|
{
|
|
|
|
sandBoxManager = sandManager;
|
2007-05-31 13:45:18 +00:00
|
|
|
}
|
|
|
|
|
2007-06-10 18:51:45 +00:00
|
|
|
public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo)
|
2007-05-31 13:45:18 +00:00
|
|
|
{
|
2007-06-10 18:51:45 +00:00
|
|
|
return sandBoxManager.RegisterRegion(regionInfo);
|
2007-05-31 13:45:18 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public override List<RegionInfo> RequestNeighbours(RegionInfo regionInfo)
|
|
|
|
{
|
2007-06-10 18:51:45 +00:00
|
|
|
return sandBoxManager.RequestNeighbours(regionInfo);
|
2007-05-31 13:45:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|