public synchronized boolean addPeer(Peer p){
  if (isKnownPeer(p)) {
    touchPeer(p);
    return false;
  }
 else {
    mCurrentPeers.add(p);
    return true;
  }
}

public synchronized boolean addPeer ( Peer p ) { if ( isKnownPeer ( p ) ) { touchPeer ( p ) ; return false ; } else { mCurrentPeers . add ( p ) ; return true ; } }
add a peer to the current list of peers . used internally to add peers discovered , but also can be called externally to add peers which use very asynchronous mechanisms ( e . g . sd card ) which do not support automatic discovery .
