aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/GridServer/GridCommsManagerLocal.cs
blob: 54c62d6910d06d9d0436af47fbabae12f4a49d8b (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 LocalBackEndServices sandBoxManager;

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

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

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