(String reason)
| 276 | } |
| 277 | |
| 278 | private void onclose(String reason) { |
| 279 | if (logger.isLoggable(Level.FINE)) { |
| 280 | logger.fine(String.format("close (%s)", reason)); |
| 281 | } |
| 282 | this.connected = false; |
| 283 | this.id = null; |
| 284 | super.emit(EVENT_DISCONNECT, reason); |
| 285 | this.clearAcks(); |
| 286 | } |
| 287 | |
| 288 | /** |
| 289 | * Clears the acknowledgement handlers upon disconnection, since the client will never receive an acknowledgement from |
no test coverage detected