(self)
action taken upon link being closed by peer
action taken upon link being closed by peer
action taken upon link being closed by peer
def handle_EOF(self):
        "action taken upon link being closed by peer"
        self.EOFhook()
        self.debug("handle_EOF")
        for key in self.cvars:
            cv = self.cvars[key]
            cv.acquire()
            self.responses[key] = ('EOF', None)
            cv.notify()
            cv.release()
        # call our (possibly overridden) exit function
        self.exithook()
def handle_EOF ( self ) : self . EOFhook ( ) self . debug ( "handle_EOF" ) for key in self . cvars : cv = self . cvars [ key ] cv . acquire ( ) self . responses [ key ] = ( 'EOF' , None ) cv . notify ( ) cv . release ( ) # call our (possibly overridden) exit function self . exithook ( )