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

Method handle_accept

src/class_smtpServer.py:60–65  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

58
59class smtpServerPyBitmessage(smtpd.SMTPServer):
60 def handle_accept(self):
61 pair = self.accept()
62 if pair is not None:
63 conn, addr = pair
64# print >> DEBUGSTREAM, 'Incoming connection from %s' % repr(addr)
65 self.channel = smtpServerChannel(self, conn, addr)
66
67 def send(self, fromAddress, toAddress, subject, message):
68 status, addressVersionNumber, streamNumber, ripe = decodeAddress(toAddress)

Callers

nothing calls this directly

Calls 2

smtpServerChannelClass · 0.85
acceptMethod · 0.45

Tested by

no test coverage detected