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);
        }
 public IWCIncomingConnections(InterWorldCommunications iwc) :
     base("POST", "/iwcconnection")
 {
     IWC = iwc;
 }
 public IWCOutgoingConnections(InterWorldCommunications iwc)
 {
     IWC = iwc;
 }
 public IWCIncomingConnections(InterWorldCommunications iwc) :
     base("POST", "/iwcconnection")
 {
     IWC = iwc;
 }
        //private InterWorldCommunications IWC;

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