MCPcopy
hub / github.com/DuGuQiuBai/Java / close

Method close

day26/resource/chat_socket_server/src/com/server/Server.java:49–56  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47 }
48
49 public void close() {
50 if(serverThread != null){
51 if(serverThread.isAlive()){
52 serverThread.stopServer();
53 }
54 }
55 System.exit(0);
56 }
57
58}

Callers 15

stopServerMethod · 0.45
runMethod · 0.45
closeClienthreadMethod · 0.45
actionPerformedMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
mainMethod · 0.45
method2Method · 0.45
method1Method · 0.45
mainMethod · 0.45
mainMethod · 0.45

Calls 1

stopServerMethod · 0.45

Tested by 15

copyMethod · 0.36
copyMethod · 0.36
mainMethod · 0.36
method5Method · 0.36
method4Method · 0.36
method3Method · 0.36
method2Method · 0.36
method1Method · 0.36
method4Method · 0.36
method3Method · 0.36
method2Method · 0.36
method1Method · 0.36