public void run() {
        if(!SuccessInitializing){
            Sup.setState("Invalid server info.");
            return;
        }
        Sup.setConnected(Sup.CODE_CONNECTING);
        Sup.setState("connecting...");
        ReqQue = new RequestQueue();
        LoginInfo info = new LoginInfo(UserID, Password);
        //T[oڑ
        ServTh = new ServerThread(Server, Port, Proxy, info, ReqQue);
        ServTh.start();
        //ڑm肷܂őҋ@
        int code = ServTh.isConnectedWithCond();
        if (code != ServerThread.CODE_CONNECTED) {
            Sup.setState("connection error occured. code:" +
                         Integer.toString(code));
            Sup.setConnected(Sup.CODE_NOT_CONNECTED);
            return;
        }
        Sup.setState("connected.");
        Sup.setConnected(Sup.CODE_CONNECTED);
        ClientTh = new Client(info, ReqQue);
        ClientTh.start();
        while (Running) {
            if (ReqQue.change_wait(false)) {
                Sup.setState("Queue:" + Integer.toString(ReqQue.size()));
            }
        }
        ServTh.disConnect();
        ClientTh.disConnect();
        ReqQue.change_signal(false);
        ServTh.waitDisconnection();
        ClientTh.waitDisconnection();
        Sup.setState("disconnected.");
        Sup.setConnected(Sup.CODE_NOT_CONNECTED);
    }