@Override
	public void run() {
		
		
		switch(message.type){
		case 0: //choke
				  choke();
				  break;
		case 1: //unchoke
				  unchoke();
				  break;
		case 2: //interested
			      interested();
			      break;
		case 3: //notinterested
			      notinterested();
			      break;
		case 4: //have
			      have();
			      break;
		case 5: //bitfield
			      bitfield();
			      break;
		case 6: //request
			      request();
			      break;
		case 7: //piece
			      piece();
			      break;
			 
	    }
	}