MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / __init__

Method __init__

sshuttle/ssnet.py:507–513  ·  view source on GitHub ↗
(self, mux, channel)

Source from the content-addressed store, hash-verified

505class MuxWrapper(SockWrapper):
506
507 def __init__(self, mux, channel):
508 SockWrapper.__init__(self, mux.rfile, mux.wfile)
509 self.mux = mux
510 self.channel = channel
511 self.mux.channels[channel] = self.got_packet
512 self.socks = []
513 debug2('new channel: %d' % channel)
514
515 def __del__(self):
516 self.nowrite()

Callers

nothing calls this directly

Calls 2

debug2Function · 0.90
__init__Method · 0.45

Tested by

no test coverage detected