public void connectTo(Peer peer){
  if (getConnecting() != null) {
    log.warn("connectTo() not connecting to " + peer + " -- already connecting to ("+ getConnecting()+ ")");
    return;
  }
  log.info("connecting to " + peer);
  PeerManager peerManager=PeerManager.getInstance(this);
  setConnecting(peer.address);
  log.info("Starting to connect to " + peer.toString());
  if (mPeerConnectionCallback == null)   log.info("Was starting to connect to " + peer.toString() + " but PeerConnectionCallback was null");
  mBluetoothSpeaker.connect(peer,mPeerConnectionCallback);
}

public void connectTo ( Peer peer ) { if ( getConnecting ( ) != null ) { log . warn ( "connectTo() not connecting to " + peer + " -- already connecting to (" + getConnecting ( ) + ")" ) ; return ; } log . info ( "connecting to " + peer ) ; PeerManager peerManager = PeerManager . getInstance ( this ) ; setConnecting ( peer . address ) ; log . info ( "Starting to connect to " + peer . toString ( ) ) ; if ( mPeerConnectionCallback == null ) log . info ( "Was starting to connect to " + peer . toString ( ) + " but PeerConnectionCallback was null" ) ; mBluetoothSpeaker . connect ( peer , mPeerConnectionCallback ) ; }
connect to the peer via bluetooth . upon success , start an exchange with the peer . if we ' re already connecting to someone , this method returns without doing anything .
