'Bind write to the transport\'s write method and flush to a no-op
function in order to provide the same API as is provided by
BufferingProtocol.'

def connectionMade(self):

    self.write = self.transport.write
    self.flush = (lambda : None)
