I commented the simpleDownloadAlgorithm call from PeerListener for changing the main body of RUBTClient such that it manages the flow of the client. I also added a couple of methods for unchocking control from outside bittorrent... we don't need to use them but they are just getters. The main idea is connecting with peers, queue them until they are all unchocked and then execute the algorithm for selecting what are we going to get from who.
Begin to implement disconnect from peer if peer requests a piece larger
than 16,384B.
Merge branch 'master' of https://github.com/fgeraci/cs352-bittorrent-project
bitfields are making sense now, but need to revise the algorithm for checking the endianess of the bits received. We are at the part of implementing the DownloadAlgorithm() in Bittorrent.java
Merge branch 'master' of https://github.com/fgeraci/cs352-bittorrent-project
Changed each instance of substring "chocked" to "choked".
To chock is (in Spanish): usar un calzo!
Cover corner-case for random clientId assignment.
buildpath fixed and I also added Rob's corrections
Spelling correction in javadoc comment.
Merge branch 'master' of https://github.com/fgeraci/cs352-bittorrent-project

Conflicts:
	src/bt/Model/PeerListener.java
IMPORTANT: hey guys, I moved the user interface code to a new class called UserInterface into a new packet called bt.View, this class has a static method called receiveEvent(String message) which could be called from anywhere and will print the message and restart the UI loop with the %> and such.. just to handle messages and look nicer.
who changed choke back to chocke?
synchronizing
more synchronization
changed request index to use Request objects as the parameter.
Added WeightedRequest class and weightedRequestQueue.
we will now have a weightedRequestQueue full of all the pieces that we need to download the file, and out download algorithm will simply have to pull them out and request them from the peers.
Added getRequest and some fixes
Merge branch 'master' of https://github.com/fgeraci/cs352-bittorrent-project
We had to revert the push because PeerListener got replicated.