aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Common/OpenGrid.Framework.Communications/InterSimComms/InterSimsCommsLocal.cs
blob: bce146fa08b6ecacc935056155179ab4dbe9eb3d (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 SandBoxManager sandBoxManager;

        public InterSimsCommsLocal(SandBoxManager 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);
        }
    }
}