Home | History | Annotate | Download | only in ch

Lines Matching refs:key

57                 for (MembershipKeyImpl key: keys) {
58 if (key.networkInterface().equals(interf)) {
60 // existing key or detect conflict
62 if (key.sourceAddress() == null)
63 return key;
67 // already have source-specific membership so return key
69 if (key.sourceAddress() == null)
71 if (source.equals(key.sourceAddress()))
72 return key;
81 * Add membership to the registry, returning a new membership key.
83 void add(MembershipKeyImpl key) {
84 InetAddress group = key.group();
96 keys.add(key);
100 * Remove a key from the registry
102 void remove(MembershipKeyImpl key) {
103 InetAddress group = key.group();
108 if (i.next() == key) {
125 for (MembershipKeyImpl key: groups.get(group)) {
126 key.invalidate();