mirror of
https://github.com/JoelBender/bacpypes
synced 2025-09-28 22:15:23 +08:00
rename the internal fn from _confirmation_complete to _app_complete
This commit is contained in:
parent
12589fe7af
commit
cb2449b5ad
|
@ -407,8 +407,8 @@ class ApplicationIOController(IOController, Application):
|
|||
# ask the queue to process the request
|
||||
queue.request_io(iocb)
|
||||
|
||||
def _confirmation_complete(self, address, apdu):
|
||||
if _debug: ApplicationIOController._debug("_confirmation_complete %r %r", address, apdu)
|
||||
def _app_complete(self, address, apdu):
|
||||
if _debug: ApplicationIOController._debug("_app_complete %r %r", address, apdu)
|
||||
|
||||
# look up the queue
|
||||
queue = self.queue_by_address.get(address, None)
|
||||
|
@ -444,13 +444,13 @@ class ApplicationIOController(IOController, Application):
|
|||
|
||||
# if this was an unconfirmed request, it's complete, no message
|
||||
if isinstance(apdu, UnconfirmedRequestPDU):
|
||||
self._confirmation_complete(apdu.pduDestination, None)
|
||||
self._app_complete(apdu.pduDestination, None)
|
||||
|
||||
def confirmation(self, apdu):
|
||||
if _debug: ApplicationIOController._debug("confirmation %r", apdu)
|
||||
|
||||
# this is an ack, error, reject or abort
|
||||
self._confirmation_complete(apdu.pduSource, apdu)
|
||||
self._app_complete(apdu.pduSource, apdu)
|
||||
|
||||
#
|
||||
# BIPSimpleApplication
|
||||
|
|
Loading…
Reference in New Issue
Block a user