()
| 561 | } |
| 562 | |
| 563 | public boolean checkStayAliveTime() |
| 564 | { |
| 565 | if(System.currentTimeMillis() - connection.getLastSentTime() > Constants.TIMEOUT_KEEPALIVE) |
| 566 | { |
| 567 | return true; |
| 568 | } |
| 569 | |
| 570 | return false; |
| 571 | } |
| 572 | |
| 573 | private void disconnect(boolean kick) |
| 574 | { |