txampext/multiplexing.py
def dataReceived(self, data):
        """Received some data from the local side.

        If we have set up the multiplexed connection, sends the data
        over the multiplexed connection. Otherwise, buffers.

        """
        log.msg("{} bytes of data received locally".format(len(data)))
        if self.connection is None:
            # we haven't finished connecting yet
            log.msg("Connection not made yet, buffering...")
            self._buffer.write(data)
        else:
            log.msg("Sending data...")
            self._sendData(data)
def dataReceived(self, data):
        log.msg("{} bytes of data received locally".format(len(data)))
        if self.connection is None:
            # we haven't finished connecting yet
            log.msg("Connection not made yet, buffering...")
            self._buffer.write(data)
        else:
            log.msg("Sending data...")
            self._sendData(data)
def dataReceived ( self , data ) : log . msg ( "{} bytes of data received locally" . format ( len ( data ) ) ) if self . connection is None : # we haven't finished connecting yet log . msg ( "Connection not made yet, buffering..." ) self . _buffer . write ( data ) else : log . msg ( "Sending data..." ) self . _sendData ( data )
Received some data from the local side.

        If we have set up the multiplexed connection, sends the data
        over the multiplexed connection. Otherwise, buffers.
Received some data from the local side .