def __init__(self, stream_handler, timeout=None):
        """The *stream_handler* argument is a handler function to handle client
        connections. The handler will be called as ``stream_handler(stream,
        transport, protocol)``. The handler for each connection will run in a
        separate fiber so it can use blocking I/O on the stream. When the
        handler returns, the stream is closed.

        See :ref:`example-stream-server` for an example.
        """
        super(StreamServer, self).__init__(StreamProtocol, timeout=timeout)
        self._stream_handler = stream_handler
        self._dispatchers = {}
def __init__ ( self , stream_handler , timeout = None ) : super ( StreamServer , self ) . __init__ ( StreamProtocol , timeout = timeout ) self . _stream_handler = stream_handler self . _dispatchers = { }
The *stream_handler* argument is a handler function to handle client
        connections. The handler will be called as ``stream_handler(stream,
        transport, protocol)``. The handler for each connection will run in a
        separate fiber so it can use blocking I/O on the stream. When the
        handler returns, the stream is closed.

        See :ref:`example-stream-server` for an example.