()
| 551 | } |
| 552 | |
| 553 | public boolean checkTimeout() |
| 554 | { |
| 555 | if(System.currentTimeMillis() - connection.getLastReceivedTime() > Constants.TIMEOUT_DROP) |
| 556 | { |
| 557 | return true; |
| 558 | } |
| 559 | |
| 560 | return false; |
| 561 | } |
| 562 | |
| 563 | public boolean checkStayAliveTime() |
| 564 | { |
no test coverage detected