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

Method checkTimeout

src/RoomServer/GlobalClient.java:274–282  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

272 }
273
274 public boolean checkTimeout()
275 {
276 if(System.currentTimeMillis() - connection.getLastReceivedTime() > Constants.TIMEOUT_DROP)
277 {
278 return true;
279 }
280
281 return false;
282 }
283
284 public boolean checkStayAliveTime()
285 {

Callers 1

runMethod · 0.95

Calls 1

getLastReceivedTimeMethod · 0.80

Tested by

no test coverage detected