public boolean process(DatagramPacket datagram) {
		//Let the mailbox know if this session is ending
		boolean discard = false;
		try {
			Scanner in = new Scanner(new DataInputStream
			(new ByteArrayInputStream(datagram.getData(), 0, datagram.getLength())));
			String input = in.nextLine();
			
		
			String[] tokens = input.split(" ");
			

			
			switch(tokens[0]) {
				case "join": 
					String name = tokens[1];
					viewListener.joined(ViewProxy.this, name);
					break;
					
				case "digit": 
					int digit = Integer.parseInt(tokens[1]);
					viewListener.digit(digit);
					break;
					
				case "newgame" :
					viewListener.newGame();
					break;
					
				case "quit": 
					viewListener.quit();
					discard = true;
					break;
					
				default:
					System.err.println("Bad message");
					break;
			}
				

	
		}
		
		catch (Exception exc) {}
		
		return discard;

	}