Пример #1
0
        private GridRegion UpdateGridRegionForIWC(ref GridRegion r)
        {
            if (r == null)
            {
                return(r);
            }
            InterWorldCommunications comms = m_registry.RequestModuleInterface <InterWorldCommunications>();

            r.Flags |= (int)RegionFlags.Foreign;
            //if (r.GenericMap["GridUrl"] == "")
            //    r.GenericMap["ThreatLevel"] = comms.m_untrustedConnectionsDefaultTrust.ToString();
            //else
            //    r.GenericMap["ThreatLevel"] = comms.GetThreatLevelForUrl(r.GenericMap["GridUrl"]).ToString();
            return(r);
        }
Пример #2
0
 public IWCIncomingConnections(InterWorldCommunications iwc) :
     base("POST", "/iwcconnection")
 {
     IWC = iwc;
 }
Пример #3
0
 public IWCOutgoingConnections(InterWorldCommunications iwc)
 {
     IWC = iwc;
 }
Пример #4
0
 public IWCIncomingConnections(InterWorldCommunications iwc) :
     base("POST", "/iwcconnection")
 {
     IWC = iwc;
 }
Пример #5
0
        //private InterWorldCommunications IWC;

        public IWCOutgoingConnections(InterWorldCommunications iwc)
        {
            //IWC = iwc;
        }