@Override
	public void messageReceived(IoSession session, Object message)
			throws Exception {
		String str = message.toString();
		System.out.println("Receiving Message :" + str);
		if(str.trim().equalsIgnoreCase("quit")){
			session.close(true);
			System.exit(0);
			return;
		}
		Date date = new Date();
		session.write(date.toString());
		System.out.println("Messge written...");
	}