()
| 282 | } |
| 283 | |
| 284 | public boolean checkStayAliveTime() |
| 285 | { |
| 286 | if(System.currentTimeMillis() - connection.getLastSentTime() > Constants.TIMEOUT_KEEPALIVE) |
| 287 | { |
| 288 | return true; |
| 289 | } |
| 290 | |
| 291 | return false; |
| 292 | } |
| 293 | |
| 294 | private void disconnect() |
| 295 | { |