4647484950515253545556
break; case BitFieldMessage.MESSAGE_ID: message = new BitFieldMessage(); break; case ChokeMessage.MESSAGE_ID: message = new ChokeMessage(); break; case HaveMessage.MESSAGE_ID: message = new HaveMessage(); break; case InterestedMessage.MESSAGE_ID:
77787980818283
write(new HaveMessage(pieceIndex)); } @Override public void choke() { write(new ChokeMessage()); }