Home | History | Annotate | Download | only in jsse

Lines Matching defs:Client

56         Client client = null;
75 client = new Client(ssocket.getLocalPort());
76 client.start();
79 while (!client.handshakeStarted()) {
87 client.close();
96 if (client != null) {
98 client.close();
114 Client client = null;
133 client = new Client(ssocket.getLocalPort());
134 client.start();
137 while (!client.handshakeStarted()) {
145 client.close();
154 if (client != null) {
156 client.close();
172 Client client = null;
191 client = new Client(ssocket.getLocalPort());
192 client.start();
195 while (!client.handshakeStarted()) {
203 client.close();
212 if (client != null) {
214 client.close();
230 Client client = null;
249 client = new Client(ssocket.getLocalPort());
250 client.start();
253 while (!client.handshakeStarted()) {
261 client.close();
270 if (client != null) {
272 client.close();
534 assertFalse("Socket did not reset its want client auth state",
540 assertFalse("Socket did not reset its want client auth state",
555 assertFalse("Socket did not reset its want client auth state",
561 assertFalse("Socket did not reset its want client auth state",
588 private static class Client extends Thread {
592 private Socket client = null;
595 public Client(int port) throws IOException {
598 client = new Socket();
599 client.setSoTimeout(10000);
603 return client.getLocalPort();
614 client.connect(
616 client.getInputStream().read();
624 if (client != null) {
626 client.close();
629 //System.out.println("===== client has been stopped");
638 client.close();