aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs
blob: bf7d5b953aa7818ddfd740aa5a55b5c953cf52c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Text;

using OpenSim.Framework;
using OpenSim.Framework.Types;

using libsecondlife;

namespace OpenGrid.Framework.Communications.GridServer
{
    public class GridCommsManagerLocal : GridCommsManagerBase
    {
        private SandBoxManager sandBoxManager;

        public GridCommsManagerLocal(SandBoxManager sandManager)
        {
            sandBoxManager = sandManager;
        }

        public override RegionCommsHostBase RegisterRegion(RegionInfo regionInfo)
        {
            return sandBoxManager.RegisterRegion(regionInfo);
        }

        public override List<RegionInfo> RequestNeighbours(RegionInfo regionInfo)
        {
            return sandBoxManager.RequestNeighbours(regionInfo);
        }
    }
}