From: <jac...@us...> - 2013-05-02 17:25:51
|
Revision: 3201 http://sourceforge.net/p/openlcb/svn/3201 Author: jacobsen Date: 2013-05-02 17:25:49 +0000 (Thu, 02 May 2013) Log Message: ----------- add reserve/release Modified Paths: -------------- trunk/specs/drafts/mscgen/TractionAllocateProxy.msc trunk/specs/drafts/mscgen/TractionAllocateProxy.png trunk/specs/drafts/mscgen/TractionAllocateProxyAfterSearch.msc trunk/specs/drafts/mscgen/TractionAllocateProxyAfterSearch.png trunk/specs/drafts/mscgen/TractionAllocateProxyCollision.msc trunk/specs/drafts/mscgen/TractionAllocateProxyCollision.png Modified: trunk/specs/drafts/mscgen/TractionAllocateProxy.msc =================================================================== --- trunk/specs/drafts/mscgen/TractionAllocateProxy.msc 2013-04-29 01:47:20 UTC (rev 3200) +++ trunk/specs/drafts/mscgen/TractionAllocateProxy.msc 2013-05-02 17:25:49 UTC (rev 3201) @@ -11,19 +11,33 @@ p->* [ label = "ProducerIdentified Valid: Idle Event" ] ; p->* [ label = "ProducerIdentified Invalid: InUse Event" ] ; - t box t [label="Start Allocation"]; - t box t [label="Already Knows Proxy Node ID"]; - t->p [ label = "Traction: Allocate to DCC address" ] ; + t box t [label="Start Allocation of Proxy"]; + + t->p [ label = "Traction: Reserve Instruction" ] ; + p->* [ label = "ProducerConsumerEventReport: In-Use Event" ] ; + p->t [ label = "Traction: Reserve Reply: OK" ] ; + t box t [label="Assign"]; + t->p [ label = "Traction: Attach DCC address instruction" ] ; + p->t [ label = "Traction: Attach DCC address reply" ] ; + + t->p [ label = "Traction: Release Instruction" ] ; + t box p [label="Operate Locomotive"]; - t box t [label="Start Deallocation"]; + t box t [label="Deallocation of Proxy"]; - t->p [ label = "Traction: Deallocate" ] ; + t->p [ label = "Traction: Reserve Instruction" ] ; + p->t [ label = "Traction: Reserve Reply: OK" ] ; + + t->p [ label = "Traction: Detach DCC address instruction" ] ; + p->t [ label = "Traction: Attach DCC address reply" ] ; + + t->p [ label = "Traction: Release Instruction" ] ; + p->* [ label = "ProducerConsumerEventReport: Idle Event" ] ; - } Modified: trunk/specs/drafts/mscgen/TractionAllocateProxy.png =================================================================== (Binary files differ) Modified: trunk/specs/drafts/mscgen/TractionAllocateProxyAfterSearch.msc =================================================================== --- trunk/specs/drafts/mscgen/TractionAllocateProxyAfterSearch.msc 2013-04-29 01:47:20 UTC (rev 3200) +++ trunk/specs/drafts/mscgen/TractionAllocateProxyAfterSearch.msc 2013-05-02 17:25:49 UTC (rev 3201) @@ -18,15 +18,20 @@ p->* [ label = "ProducerIdentified Valid: Idle Event" ] ; t box t [label="Takes 1st reply with Valid set and proceeds"]; - t->p [ label = "Traction: Allocate to DCC address" ] ; + t box t [label="Start Allocation of Proxy"]; + + t->p [ label = "Traction: Reserve Instruction" ] ; + p->* [ label = "ProducerConsumerEventReport: In-Use Event" ] ; + p->t [ label = "Traction: Reserve Reply: OK" ] ; + t box t [label="Assign"]; - t box p [label="Operate Locomotive"]; + t->p [ label = "Traction: Attach DCC address instruction" ] ; + p->t [ label = "Traction: Attach DCC address reply" ] ; - t box t [label="Start Deallocation"]; + t->p [ label = "Traction: Release Instruction" ] ; - t->p [ label = "Traction: Deallocate" ] ; - p->* [ label = "ProducerConsumerEventReport: Idle Event" ] ; + t box p [label="Operate Locomotive"]; } Modified: trunk/specs/drafts/mscgen/TractionAllocateProxyAfterSearch.png =================================================================== (Binary files differ) Modified: trunk/specs/drafts/mscgen/TractionAllocateProxyCollision.msc =================================================================== --- trunk/specs/drafts/mscgen/TractionAllocateProxyCollision.msc 2013-04-29 01:47:20 UTC (rev 3200) +++ trunk/specs/drafts/mscgen/TractionAllocateProxyCollision.msc 2013-05-02 17:25:49 UTC (rev 3201) @@ -13,14 +13,14 @@ ta box tb [label="Start Simultaneous Allocation"]; - ta->p [ label = "Traction: Allocate to DCC address" ] ; - tb->p [ label = "Traction: Allocate to DCC address" ] ; + ta->p [ label = "Traction: Reserve Instruction" ] ; + tb->p [ label = "Traction: Reserve Instruction" ] ; ta box tb [label="Preceding Effectively Simultaneous\nHow do A and B know who got the proxy?"]; - p->ta [ label = "Traction: Allocated to DCC address" ] ; p->* [ label = "ProducerConsumerEventReport: In-Use Event" ] ; - p->tb [ label = "Traction: Not allocated; already in use" ] ; + p->ta [ label = "Traction: Reserve Reply: OK" ] ; + p->tb [ label = "Traction: Reserve Reply: Not allocated; already in use" ] ; tb box tb [label="Uses some other proxy"]; Modified: trunk/specs/drafts/mscgen/TractionAllocateProxyCollision.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |