コード例 #1
0
ファイル: MessageBroker.cs プロジェクト: Joy011024/PickUpData
 internal IEndpoint GetEndpoint(string path, string contextPath, bool secure)
 {
     foreach (DictionaryEntry entry in this._endpoints)
     {
         IEndpoint       endpoint = entry.Value as IEndpoint;
         ChannelSettings settings = endpoint.GetSettings();
         if ((settings != null) && settings.Bind(path, contextPath))
         {
             return(endpoint);
         }
     }
     return(null);
 }