close method
- @mustCallSuper
Called when the client's connection is closed
Implementation
@mustCallSuper
void close() {
if (protocolState == KuzzleProtocolState.offline) {
return;
}
if (protocolState == KuzzleProtocolState.connected) {
clientDisconnected();
return;
}
abortConnection = true;
}