예제 #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;
        }