mirror of
https://github.com/JoelBender/bacpypes
synced 2025-10-05 22:18:16 +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
|
# ask the queue to process the request
|
||||||
queue.request_io(iocb)
|
queue.request_io(iocb)
|
||||||
|
|
||||||
def _confirmation_complete(self, address, apdu):
|
def _app_complete(self, address, apdu):
|
||||||
if _debug: ApplicationIOController._debug("_confirmation_complete %r %r", address, apdu)
|
if _debug: ApplicationIOController._debug("_app_complete %r %r", address, apdu)
|
||||||
|
|
||||||
# look up the queue
|
# look up the queue
|
||||||
queue = self.queue_by_address.get(address, None)
|
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 this was an unconfirmed request, it's complete, no message
|
||||||
if isinstance(apdu, UnconfirmedRequestPDU):
|
if isinstance(apdu, UnconfirmedRequestPDU):
|
||||||
self._confirmation_complete(apdu.pduDestination, None)
|
self._app_complete(apdu.pduDestination, None)
|
||||||
|
|
||||||
def confirmation(self, apdu):
|
def confirmation(self, apdu):
|
||||||
if _debug: ApplicationIOController._debug("confirmation %r", apdu)
|
if _debug: ApplicationIOController._debug("confirmation %r", apdu)
|
||||||
|
|
||||||
# this is an ack, error, reject or abort
|
# this is an ack, error, reject or abort
|
||||||
self._confirmation_complete(apdu.pduSource, apdu)
|
self._app_complete(apdu.pduSource, apdu)
|
||||||
|
|
||||||
#
|
#
|
||||||
# BIPSimpleApplication
|
# BIPSimpleApplication
|
||||||
|
|
Loading…
Reference in New Issue
Block a user