code: private CandidatePair selectCandidatePair(IceComponent component, DatagramChannel channel) {
  		for (LocalCandidateWrapper localCandidate : component.getLocalCandidates()) {
  			if (channel.equals(localCandidate.getChannel())) {
  				return component.setCandidatePair(channel);
  			}
  		}
  		return null;
  	}
docs: Attempts to select a candidate pair on a ICE component.<br>
  A candidate pair is only selected if the local candidate channel is
  registered with the provided Selection Key.
  
  @param component
  The component that holds the gathered candidates.
  @param key
  The key of the datagram channel of the elected candidate.
  @return Returns the selected candidate pair. If no pair was selected,
  returns null.