private void sendIntroductionResponse(Peer peer,Peer invitee) throws IOException {
  List<Peer> pexPeers=new ArrayList<>();
  for (  Peer p : peerList) {
    if (p.hasReceivedData() && p.getPeerId() != null && p.isAlive())     pexPeers.add(p);
  }
  IntroductionResponse response=new IntroductionResponse(hashId,internalSourceAddress,peer.getAddress(),invitee,connectionType,pexPeers,networkOperator);
  sendMesssage(response,peer);
}

private void sendIntroductionResponse ( Peer peer , Peer invitee ) throws IOException { List < Peer > pexPeers = new ArrayList < > ( ) ; for ( Peer p : peerList ) { if ( p . hasReceivedData ( ) && p . getPeerId ( ) != null && p . isAlive ( ) ) pexPeers . add ( p ) ; } IntroductionResponse response = new IntroductionResponse ( hashId , internalSourceAddress , peer . getAddress ( ) , invitee , connectionType , pexPeers , networkOperator ) ; sendMesssage ( response , peer ) ; }
send an introduction response .
