From f5f56e1a1c4d9e9496fcb9d81131066a964ccd23 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:15:43 +0200 Subject: Adding upstream version 2.4.1. Signed-off-by: Daniel Baumann --- src/bin/d2/images/nc_trans_sequence.svg | 230 ++++++++++++++++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 src/bin/d2/images/nc_trans_sequence.svg (limited to 'src/bin/d2/images/nc_trans_sequence.svg') diff --git a/src/bin/d2/images/nc_trans_sequence.svg b/src/bin/d2/images/nc_trans_sequence.svg new file mode 100644 index 0000000..ae0daeb --- /dev/null +++ b/src/bin/d2/images/nc_trans_sequence.svg @@ -0,0 +1,230 @@ + + + + + + + + + :DNSClient + + + + + + + + + + + + :D2UpdateMgr + + Sequence depicting a + simple state model which + performs a single update. + + + + As part of Update + Manager's sweep() + between events it + creates and starts the + transaction + + + + + runStateModel() Iterates through + states until DONE_ST is + reached + + + + + + + + + + + + :NameChangeTransaction + + + + + At some point later, DNSClient + invokes callback when IO + completes + + + + + + + + + + + + + + + + + + + + runStateModel() Iterates through + states until an update is initiated + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + doUpdate() + + + setState(READY_ST) + + + runStateModel(START_TRANSACTION_EVT) + + + startTransaction() + + + (getStateHandler())() + + + operator ()() + + + initStateHandlerMap() + + + setDnsUpdateStatus() + + + runStateModel(IO_COMPLETED_EVT) + + + NameChangeTransaction() + + + (getStateHandler)() + + + setNextEvent(NOP_EVT) + + + setState(DONE_ST) + + + setNextEvent(NOP_EVT) + + -- cgit v1.2.3