public ClientThread(Socket sock, RequestQueue queue, Semaphore sem,
                        LoginInfo info) {
        ClientSocket = sock;
        ReqQueue = queue;
        LoginInfo = info;
        Sem = sem;
        //obt@̐ݒ
        try {
            InputStream is = sock.getInputStream();
            OutputStream os = sock.getOutputStream();
            DataIn = new DataInputStream(is);
            DataOut = new DataOutputStream(os);
            TextIn = new BufferedReader(new InputStreamReader(
                    new HTTP_SocketStreamReader(is)));
            TextOut = new BufferedWriter(new OutputStreamWriter(os));
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }