Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. protocol OrderPayGoodsCancel {
  2. roles B, S
  3. parameters out ID key, out item, out price, out gDone, out pDone
  4. private rescind
  5.  
  6. B -> S: order [out ID key, out item, out price]
  7. B -> S: cancel [in ID key, out rescind]
  8. B -> S: pay [in ID key, in price, nil rescind, out pDone]
  9. B -> S: cancelOrderConfirm [in ID key, in gDone, out pDone]
  10.  
  11. S -> B: goods [in ID key, in item, nil rescind, out gDone]
  12. S -> B: CancelAck [in ID key, in rescind, out gDone]
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement