MCPcopy Create free account
hub / github.com/apenwarr/sshuttle / callback

Method callback

ssnet.py:454–459  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

452 _add(w, self.wsock)
453
454 def callback(self):
455 (r,w,x) = select.select([self.rsock], [self.wsock], [], 0)
456 if self.rsock in r:
457 self.handle()
458 if self.outbuf and self.wsock in w:
459 self.flush()
460
461
462class MuxWrapper(SockWrapper):

Callers 3

_mainFunction · 0.95
mainFunction · 0.95
runonceFunction · 0.45

Calls 2

handleMethod · 0.95
flushMethod · 0.95

Tested by

no test coverage detected