aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs
blob: a56e1f0603d17e907ebcfe65cb1c699c78bdddc7 (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
using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Framework.Types;
using OpenSim.Framework;

namespace OpenGrid.Framework.Communications
{
    public class InterSimsCommsLocal : InterSimsCommsBase
    {
        private LocalBackEndServices sandBoxManager;

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

        /// <summary>
        /// Informs a neighbouring sim to expect a child agent
        /// </summary>
        /// <param name="regionHandle"></param>
        /// <param name="agentData"></param>
        /// <returns></returns>
        public override bool InformNeighbourOfChildAgent(ulong regionHandle, AgentCircuitData agentData) //should change from agentCircuitData
        {
            return sandBoxManager.InformNeighbourOfChildAgent(regionHandle, agentData);
        }
    }
}