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

Method __init__

ssnet.py:268–272  ·  view source on GitHub ↗
(self, wrap1, wrap2)

Source from the content-addressed store, hash-verified

266
267class Proxy(Handler):
268 def __init__(self, wrap1, wrap2):
269 Handler.__init__(self, [wrap1.rsock, wrap1.wsock,
270 wrap2.rsock, wrap2.wsock])
271 self.wrap1 = wrap1
272 self.wrap2 = wrap2
273
274 def pre_select(self, r, w, x):
275 if self.wrap1.shut_write: self.wrap2.noread()

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected