// Path: src/test/java/model/AuthResult.java
// public class AuthResult {
//     public String address;
//     public String secret;
// 
//     public AuthResult(String address, String secret) {
//         this.address = address;
//         this.secret = secret;
//     }
// }


import com.zhaidaosi.game.jgframework.common.BaseSocket;
import com.zhaidaosi.game.jgframework.message.InMessage;
import com.zhaidaosi.game.jgframework.session.SessionManager;
import model.AuthResult;
import java.net.URI;
package client;



class TestSocket {

    public static void main(String[] args) {

        long startTime = System.currentTimeMillis();
        System.out.println("start time : " + startTime);
        for (int i = 1; i <= 100; i++) {
            MyThread t = new MyThread("test" + i, "123456");
            t.start();
        }
    }

}

class MyThread extends Thread {

    String username;
    String password;

    public MyThread(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public void run() {
        try {
            long startTime = System.currentTimeMillis();
// Path: src/test/java/model/AuthResult.java
// public class AuthResult {
//     public String address;
//     public String secret;
// 
//     public AuthResult(String address, String secret) {
//         this.address = address;
//         this.secret = secret;
//     }
// }


// Path: src/test/java/client/TestSocket.java
import com.zhaidaosi.game.jgframework.common.BaseSocket;
import com.zhaidaosi.game.jgframework.message.InMessage;
import com.zhaidaosi.game.jgframework.session.SessionManager;
import model.AuthResult;
import java.net.URI;

package client;



class TestSocket {

    public static void main(String[] args) {

        long startTime = System.currentTimeMillis();
        System.out.println("start time : " + startTime);
        for (int i = 1; i <= 100; i++) {
            MyThread t = new MyThread("test" + i, "123456");
            t.start();
        }
    }

}

class MyThread extends Thread {

    String username;
    String password;

    public MyThread(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public void run() {
        try {
            long startTime = System.currentTimeMillis();
            AuthResult ar = TestAuth.auth(username, password);