Ejemplo n.º 1
0
    def response(self, apdu):
        if _debug: TestApplication._debug("response %r", apdu)

        # check for loopback
        if apdu.pduDestination == self.localAddress:
            if _debug: TestApplication._debug("    - loopback")
            deferred(self.confirmation, apdu)
        else:
            BIPSimpleApplication.response(self, apdu)
Ejemplo n.º 2
0
 def response(self, apdu):
     BIPSimpleApplication.response(self, apdu)
Ejemplo n.º 3
0
 def response(self, apdu):
     if _debug: SampleApplication._debug("response %r", apdu)
     BIPSimpleApplication.response(self, apdu)
Ejemplo n.º 4
0
 def response(self, apdu):
     if _debug: SampleApplication._debug("response %r", apdu)
     BIPSimpleApplication.response(self, apdu)
 def response(self, apdu):
     BIPSimpleApplication.response(self, apdu)
Ejemplo n.º 6
0
 def response(self, apdu, forwarded=False):
     if _debug:
         ModbusSimpleApplication._debug("[%s]response %r",
                                        self.localAddress, apdu)
     BIPSimpleApplication.response(self, apdu, forwarded=forwarded)