MCPcopy Index your code
hub / github.com/Bitmessage/PyBitmessage / handle_close

Method handle_close

src/network/tcp.py:218–225  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

216 TLSDispatcher.handle_write(self)
217
218 def handle_close(self):
219 if self.isOutbound and not self.fullyEstablished:
220 knownnodes.decreaseRating(self.destination)
221 if self.fullyEstablished:
222 UISignalQueue.put(('updateNetworkStatusTab', (self.isOutbound, False, self.destination)))
223 if self.isOutbound:
224 Dandelion().maybeRemoveStem(self)
225 BMProto.handle_close(self)
226
227
228class Socks5BMConnection(Socks5Connection, TCPConnection):

Callers

nothing calls this directly

Calls 3

DandelionClass · 0.90
putMethod · 0.80
maybeRemoveStemMethod · 0.80

Tested by

no test coverage detected