Skip to content

Instantly share code, notes, and snippets.

@TimCoates
Last active January 5, 2016 09:14
Show Gist options
  • Select an option

  • Save TimCoates/9dbd771e24bbab99704f to your computer and use it in GitHub Desktop.

Select an option

Save TimCoates/9dbd771e24bbab99704f to your computer and use it in GitHub Desktop.

Revisions

  1. TimCoates revised this gist Jan 5, 2016. 1 changed file with 9 additions and 9 deletions.
    18 changes: 9 additions & 9 deletions Bob.puml
    Original file line number Diff line number Diff line change
    @@ -1,20 +1,20 @@
    @startuml
    actor Alice
    actor Tim
    actor Bob
    database Log
    Alice -> Bob: Authentication Request
    database Logger
    Tim -> Bob: Cash Request
    alt successful case
    Bob -> Alice: Authentication Accepted
    Bob -> Tim: Cash Accepted
    else some kind of failure
    Bob -> Alice: Authentication Failure
    Bob -> Tim: Authentication Failure
    group My own label
    Alice -> Log : Log attack start
    Tim -> Logger : Log attack start
    loop 1000 times
    Alice -> Bob: DNS Attack
    Tim -> Bob: DNS Attack
    end
    Alice -> Log : Log attack end
    Tim -> Logger : Log attack end
    end
    else Another type of failure
    Bob -> Alice: Please repeat
    Bob -> Tim: Please repeat
    end
    @enduml
  2. TimCoates created this gist Jan 5, 2016.
    20 changes: 20 additions & 0 deletions Bob.puml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    @startuml
    actor Alice
    actor Bob
    database Log
    Alice -> Bob: Authentication Request
    alt successful case
    Bob -> Alice: Authentication Accepted
    else some kind of failure
    Bob -> Alice: Authentication Failure
    group My own label
    Alice -> Log : Log attack start
    loop 1000 times
    Alice -> Bob: DNS Attack
    end
    Alice -> Log : Log attack end
    end
    else Another type of failure
    Bob -> Alice: Please repeat
    end
    @enduml