Example #1
0
        protected override RegionInfo RequestClosestRegion(string region)
        {
            RegionProfileData profileData = m_regionProfileService.RequestSimProfileData(region,
                                                                                         m_config.GridServerURL, m_config.GridSendKey, m_config.GridRecvKey);

            if (profileData != null)
            {
                return(profileData.ToRegionInfo());
            }
            else
            {
                return(null);
            }
        }
Example #2
0
        protected override RegionInfo GetRegionInfo(UUID homeRegionId)
        {
            RegionProfileData profileData = m_regionProfileService.RequestSimProfileData(homeRegionId,
                                                                                         m_config.GridServerURL, m_config.GridSendKey,
                                                                                         m_config.GridRecvKey);

            if (profileData != null)
            {
                return(profileData.ToRegionInfo());
            }
            else
            {
                return(null);
            }
        }