public PeerLookupTask createPeerLookup(byte[] info_hash){
  if (!isRunning()) {
    return null;
  }
  Key id=new Key(info_hash);
  RPCServer srv=serverManager.getRandomActiveServer(false);
  if (srv == null)   return null;
  PeerLookupTask lookupTask=new PeerLookupTask(srv,node,id);
  return lookupTask;
}

public PeerLookupTask createPeerLookup ( byte [ ] info_hash ) { if ( ! isRunning ( ) ) { return null ; } Key id = new Key ( info_hash ) ; RPCServer srv = serverManager . getRandomActiveServer ( false ) ; if ( srv == null ) return null ; PeerLookupTask lookupTask = new PeerLookupTask ( srv , node , id ) ; return lookupTask ; }
returns a non - enqueued task for further configuration . or zero if the request cannot be serviced . use the task - manager to actually start the task .
