Logo Search packages:      
Sourcecode: tcpwatch-httpproxy version File versions  Download package

def tcpwatch::RecordingObserver::received (   self,
  data,
  from_client 
)

See IConnectionObserver.

Definition at line 428 of file tcpwatch.py.

00428                                          :
        """See IConnectionObserver.
        """
        if from_client or self._response:
            extension = from_client and 'request' or 'response'
            file = self._openForAppend(extension=extension)
            file.write(data)
            file.close()
        self._decorated.received(data, from_client)

    def closed(self, from_client):


Generated by  Doxygen 1.6.0   Back to index