MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / handle_write_event

Method handle_write_event

src/network/asyncore_pollchoose.py:735–744  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

733 self.connecting = False
734
735 def handle_write_event(self):
736 if self.accepting:
737 # Accepting sockets shouldn't get a write event.
738 # We will pretend it didn't happen.
739 return
740
741 if not self.connected:
742 if self.connecting:
743 self.handle_connect_event()
744 self.handle_write()
745
746 def handle_expt_event(self):
747 # handle_expt_event() is called if there might be an error on the

Callers 2

writeFunction · 0.80
readwriteFunction · 0.80

Calls 2

handle_connect_eventMethod · 0.95
handle_writeMethod · 0.95

Tested by

no test coverage detected