MCPcopy Create free account
hub / github.com/catabriga/graphwar / checkStayAliveTime

Method checkStayAliveTime

src/GlobalServer/LobbyPlayer.java:92–100  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90 }
91
92 public boolean checkStayAliveTime()
93 {
94 if(System.currentTimeMillis() - connection.getLastSentTime() > Constants.TIMEOUT_KEEPALIVE)
95 {
96 return true;
97 }
98
99 return false;
100 }
101
102 public void disconnect()
103 {

Callers 1

runMethod · 0.95

Calls 1

getLastSentTimeMethod · 0.80

Tested by

no test coverage detected