@Override
	public void run() {
		
		 try {
			ObjectInputStream inFromClient = new ObjectInputStream(connectionSocket.getInputStream());
			  
	        while(true)
	        {
	        	Message receivedMessage = (Message) inFromClient.readObject();
	            if(receivedMessage != null){
	            
		            this.receiver.getMessagePasser().insertReceiveQueue(new Message(receivedMessage));
	            }
				Thread.sleep(100);
				
	        }
		} catch (IOException e) {
			System.out.println("Connection break.");
		} catch (ClassNotFoundException e) {
			System.out.println("Class Not Found Exception.");
		} catch (InterruptedException e) {
			System.out.println("Interrupt Exception.");
		}
	}