Loading sjrpc/core/protocols/tunnel.py +2 −2 Original line number Diff line number Diff line Loading @@ -37,12 +37,12 @@ class TunnelProtocol(Protocol): # Create watcher to handle data coming from the endpoint: props = dict(fd=self._endpoint, events=pyev.EV_READ, callback=self._handle_from_endpoint) self._endpoint_reader = self._connection.create_watcher(pyev.Io, **props) self._endpoint_reader = self.create_watcher(pyev.Io, **props) # Create watcher to handle data going to the endpoint: props = dict(fd=self._endpoint, events=pyev.EV_WRITE, callback=self._handle_from_tunnel) self._endpoint_writer = self._connection.create_watcher(pyev.Io, **props) self._endpoint_writer = self.create_watcher(pyev.Io, **props) self._connection.rpc.send_special('protoctl', label=self._label, type='ready') Loading Loading
sjrpc/core/protocols/tunnel.py +2 −2 Original line number Diff line number Diff line Loading @@ -37,12 +37,12 @@ class TunnelProtocol(Protocol): # Create watcher to handle data coming from the endpoint: props = dict(fd=self._endpoint, events=pyev.EV_READ, callback=self._handle_from_endpoint) self._endpoint_reader = self._connection.create_watcher(pyev.Io, **props) self._endpoint_reader = self.create_watcher(pyev.Io, **props) # Create watcher to handle data going to the endpoint: props = dict(fd=self._endpoint, events=pyev.EV_WRITE, callback=self._handle_from_tunnel) self._endpoint_writer = self._connection.create_watcher(pyev.Io, **props) self._endpoint_writer = self.create_watcher(pyev.Io, **props) self._connection.rpc.send_special('protoctl', label=self._label, type='ready') Loading