Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Supporting asynchronous method implementations
* Command map and dispatcher declare types for callbacks to pass error code and out-arguments. * Handlers in generated targets meet these callback signatures. * Various dispatch methods changed so that out-arguments and error codes are removed from the signature, and the appropriate callback type is added, all to track changes to command map and dispatcher. * Generated targets include default asynchronous implementations which call synchronous (pure virtual) methods. * One finder method FinderClient::dispatch_tunneled_xrl is implemented asynchronously. * Most changes above compiled in only if XORP_ENABLE_ASYNC_SERVER is defined, as set by enable_async_server=True on scons. * STCP changed from using list of RequestStates in seqno order to map indexed by seqno. This allows responses to return out-of-order, which is possible if a server implements a method asynchronously. Signed-off-by: Steven Simpson <ss@comp.lancs.ac.uk>
- Loading branch information
Showing
15 changed files
with
439 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.