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

Method __init__

ssnet.py:463–469  ·  view source on GitHub ↗
(self, mux, channel)

Source from the content-addressed store, hash-verified

461
462class MuxWrapper(SockWrapper):
463 def __init__(self, mux, channel):
464 SockWrapper.__init__(self, mux.rsock, mux.wsock)
465 self.mux = mux
466 self.channel = channel
467 self.mux.channels[channel] = self.got_packet
468 self.socks = []
469 debug2('new channel: %d\n' % channel)
470
471 def __del__(self):
472 self.nowrite()

Callers

nothing calls this directly

Calls 2

debug2Function · 0.85
__init__Method · 0.45

Tested by

no test coverage detected