public IMessage<Integer> createMessage(int id)
	{
		Class<? extends IMessage<Integer>> clz = map.get(id);
		IMessage<Integer> obj = null;
		try {
			obj = clz.newInstance();
		} catch (InstantiationException e) {
			e.printStackTrace();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
		return obj;
	}