Commits

Anonymous committed 1c757eb Draft

removed dead code

Comments (0)

Files changed (1)

         self._websockets[web_socket_name] = endpoint
         endpoint._run()
 
-##    def _handle_outbound(self, environ, start_response):
-##        """ Handle HTTP call for outbound message
-##
-##            :param environ: environment passed by WSGIServer
-##            :param start_response: WSGI response callback
-##        """
-##        sockets_ = self._websockets.copy()  # copy for potential removal
-##        self._logger.debug("Outbound call to %d websockets" % len(sockets_))
-##        for socket in sockets_:
-##            try:
-##                socket.send(environ["QUERY_STRING"])
-##            except WebSocketError, error:
-##                self._logger.debug(
-##                    "Client %s has gone: %s",
-##                    socket,
-##                    str(error))
-##                socket.close()
-##                del self_._websockets[id(socket)]
-##        start_response('200 OK', [('Content-Type', 'text/html')])
-##        return ["outbound response\n"]
-
     @staticmethod
     def _parse_websocket_name(path_info):
         """ Extract web socket name from URL path