public void run()
    {
        try{
        	while(true){
				try{
					String message = (String)in.readObject();
					if(!message.equals(""))
						System.out.println("Message from ["+CLIENT_IP+"] ->" + message);
					//sendData(db.receiveMsg(message));
					sendData(controller_db.recieveMsg(message));
				}
				catch(ClassNotFoundException classnot){
					System.err.println("Data received in unknown format");
				}
			}
        }
        catch(SocketException e)
        {
            myServer.showStatus("["+CLIENT_IP+"] Connection Reset.");
        }
        catch(Exception e)
        {
            killClient("ERROR->Client run() : "+e.toString());
        }
        catch(OutOfMemoryError ofm){
        		killClient("Client Disconnected.");
        }
        finally
        {
            killClient("Client Disconnected.");
        }
    }