Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catabriga/graphwar
/ disconnect
Method
disconnect
src/Graphwar/ServerConnection.java:63–75 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
61
}
62
63
public
void
disconnect()
64
{
65
running = false;
66
67
try
68
{
69
connection.close();
70
}
71
catch (IOException e)
72
{
73
e.printStackTrace();
74
}
75
}
76
77
public
void
sendMessage(String message)
78
{
Callers
1
run
Method · 0.95
Calls
1
close
Method · 0.80
Tested by
no test coverage detected