MCPcopy Create free account
hub / github.com/Syncplay/syncplay / dropWithError

Method dropWithError

syncplay/protocols.py:464–467  ·  view source on GitHub ↗
(self, error)

Source from the content-addressed store, hash-verified

462 pass
463
464 def dropWithError(self, error):
465 print(getMessage("client-drop-server-error").format(self.transport.getPeer().host, error))
466 self.sendError(error)
467 self.drop()
468
469 def connectionLost(self, reason):
470 self._factory.removeWatcher(self._watcher)

Callers 4

wrapperMethod · 0.95
_checkPasswordMethod · 0.95
handleHelloMethod · 0.95
handleErrorMethod · 0.95

Calls 3

sendErrorMethod · 0.95
getMessageFunction · 0.90
dropMethod · 0.45

Tested by

no test coverage detected