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

Method checkTimeout

src/GraphServer/ClientConnection.java:107–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 }
106
107 public boolean checkTimeout()
108 {
109 if(System.currentTimeMillis() - connection.getLastReceivedTime() > Constants.TIMEOUT_DROP)
110 {
111 return true;
112 }
113
114 return false;
115 }
116
117 public boolean checkStayAliveTime()
118 {

Callers 1

runMethod · 0.95

Calls 1

getLastReceivedTimeMethod · 0.80

Tested by

no test coverage detected