MCPcopy Create free account
hub / github.com/apache/cloudstack / disconnect

Method disconnect

systemvm/agent/noVNC/core/rfb.js:439–447  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437 // ===== PUBLIC METHODS =====
438
439 disconnect() {
440 this._updateConnectionState('disconnecting');
441 this._sock.off('error');
442 this._sock.off('message');
443 this._sock.off('open');
444 if (this._rfbRSAAESAuthenticationState !== null) {
445 this._rfbRSAAESAuthenticationState.disconnect();
446 }
447 }
448
449 approveServer() {
450 if (this._rfbRSAAESAuthenticationState !== null) {

Callers

nothing calls this directly

Calls 3

offMethod · 0.80
disconnectMethod · 0.65

Tested by

no test coverage detected