()
| 80 | } |
| 81 | |
| 82 | public boolean checkTimeout() |
| 83 | { |
| 84 | if(System.currentTimeMillis() - connection.getLastReceivedTime() > Constants.TIMEOUT_DROP) |
| 85 | { |
| 86 | return true; |
| 87 | } |
| 88 | |
| 89 | return false; |
| 90 | } |
| 91 | |
| 92 | public boolean checkStayAliveTime() |
| 93 | { |
no test coverage detected