MCPcopy
hub / github.com/shadowsocks/shadowsocks / modify

Method modify

shadowsocks/eventloop.py:138–140  ·  view source on GitHub ↗
(self, fd, mode)

Source from the content-addressed store, hash-verified

136 self._x_list.remove(fd)
137
138 def modify(self, fd, mode):
139 self.unregister(fd)
140 self.register(fd, mode)
141
142 def close(self):
143 pass

Callers

nothing calls this directly

Calls 2

unregisterMethod · 0.95
registerMethod · 0.95

Tested by

no test coverage detected