@Override
	public void run() {
		Object value = null;
		RoomInfo roomInfo;
		String resultString;
		try {
			oIn = new ObjectInputStream(new BufferedInputStream(
					socket.getInputStream()));
			
	
			value = oIn.readObject();
			
			try {
				roomInfo = getByEvent((String) value);
				if(roomInfo!=null)
				{
					resultString = roomInfo.toJSONObject().toJSONString();
					System.out.println(TAG+" normal return: "+resultString);
				}
				else
				{
					resultString = "";
					System.out.println(TAG+" error? or isStarted false ");
				}
				
				oOut = new ObjectOutputStream(new BufferedOutputStream(
						socket.getOutputStream()));
				oOut.writeObject(resultString);
				oOut.flush();
				System.out.println("success");

			} catch (ParseException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

		} catch (IOException e) {

		} catch (ClassNotFoundException e) {

		} finally {
			freeResources(socket, oIn, oOut);
		}

	}