Repository: qpid-dispatch Updated Branches: refs/heads/tross-DISPATCH-179-1 e490a7b36 -> ca0987522
DISPATCH-179 - Updated DESIGN document Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/ca098752 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/ca098752 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/ca098752 Branch: refs/heads/tross-DISPATCH-179-1 Commit: ca0987522bfb658a594e1ad4f9ae9842992ecf5c Parents: e490a7b Author: Ted Ross <[email protected]> Authored: Tue Jan 5 14:53:29 2016 -0500 Committer: Ted Ross <[email protected]> Committed: Tue Jan 5 14:53:29 2016 -0500 ---------------------------------------------------------------------- src/router_core/DESIGN | 83 ++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 74 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/ca098752/src/router_core/DESIGN ---------------------------------------------------------------------- diff --git a/src/router_core/DESIGN b/src/router_core/DESIGN index 8e1ac10..62d5107 100644 --- a/src/router_core/DESIGN +++ b/src/router_core/DESIGN @@ -26,13 +26,13 @@ General Structure +--------------------------------+ | Router Core Thread (CT) | | ----------- - | ||||| ---> General Callbacks + | ||||| ---> General Events action queue ----------- Async ------------ | Action ---> ||||||| -> | Functions ------------ ----------- | |||||-- - | -----------||-- ---> Connection Callbacks + | -----------||-- ---> Connection Events | Forwarding Tables -----------|| | ----------- | | @@ -87,9 +87,9 @@ Router Core Objects may be a problem. -=========== -Action APIs -=========== +========= +Core APIs +========= Router Control @@ -97,30 +97,82 @@ Action APIs routers, computes the best next-hops for each remote router, and maintains the mapping of mobile addresses to remote routers. + Actions: + Add/Delete Router + Set/Remove Neighbor Link + Set/Remove Next Hop + Set Valid Origins + Map/Unmap Destination + + General Events: + Mobile Added/Removed + Link Lost + In-process Subscription and Send Used by in-process components that need to communicate using AMQP message transfers. This API provides a best-effort messaging capability. It does not provide acknowledgement, settlement, or flow control. + Actions: + Subscribe/Unsubscribe + Send To + + General Events: + Receive + Connection Actions - Tracks the lifecycle of a connection: Opened, Closed, Process (writable) + Tracks the lifecycle of a connection. + + Actions: + Opened/Closed + Process (writable) + + General Events: + Activate Link Actions - Tracks the lifecycle of a link: First-Attach, Second-Attach, Detach, Deliver + Tracks the lifecycle of a link. + + Actions: + First Attach + Second Attach + Detach + Deliver/Deliver_To + + Connection Events: + First Attach + Second Attach + Detach Delivery Actions - Tracks the lifecycle of a delivery: Update-Disposition, Flow + Tracks the lifecycle of a delivery. + + Actions: + Update Disposition + Flow + + Connection Events: + Update Disposition + Flow Management Actions Provides asynchronous access to manageable entities inside the core thread's data structures. - Create, Delete, Read, Update, Query + Actions: + Create + Delete + Read + Update + Query + + General Events: + Response This management API is used to manage addresses, waypoints, and link-route destinations. @@ -163,3 +215,16 @@ Forwarding Semantics LINK_BALANCED For link-routes. + + +=============== +Address Classes +=============== + + L - Local + T - Topological + R - Router + M - Mobile + C - Link Inbound + D - Link Outbound + --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
