示例#1
0
 /** @ibis.experimental */
 public synchronized Map<ibis.ipl.IbisIdentifier, Set<String>> getSenderConnectionTypes() {
   Map<ibis.ipl.IbisIdentifier, Set<String>> result =
       new HashMap<ibis.ipl.IbisIdentifier, Set<String>>();
   for (SendPort port : sendPorts.values()) {
     Map<IbisIdentifier, Set<String>> p = port.getConnectionTypes();
     for (Entry<IbisIdentifier, Set<String>> entry : p.entrySet()) {
       Set<String> r = result.get(entry.getKey());
       if (r == null) {
         r = new HashSet<String>();
       }
       r.addAll(entry.getValue());
       result.put(entry.getKey(), r);
     }
   }
   return result;
 }