示例#1
0
文件: unix.py 项目: zxx1819/pysnmp
    def closeTransport(self):
        if self._lport is not None:
            deferred = self._lport.stopListening()
            if deferred:
                deferred.addCallback(lambda x: None)

        DgramTwistedTransport.closeTransport(self)
示例#2
0
文件: udp.py 项目: etingof/pysnmp
    def closeTransport(self):
        if self._lport is not None:
            deferred = self._lport.stopListening()
            if deferred:
                deferred.addCallback(lambda x: None)

            DgramTwistedTransport.closeTransport(self)
 def closeTransport(self):
     d = self._lport.stopListening()
     d and d.addCallback(lambda x: None)
     DgramTwistedTransport.closeTransport(self)
示例#4
0
 def closeTransport(self):
     d = self._lport.stopListening()
     d and d.addCallback(lambda x: None)
     DgramTwistedTransport.closeTransport(self)