X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=doc%2Fworkflows.txt;fp=doc%2Fworkflows.txt;h=14e935ac5ae02b12d782d54548683b6c772dc953;hb=f3e5a2589916fd435d391b08748e0b29344d96da;hp=0000000000000000000000000000000000000000;hpb=6018faeb1d87d125ef3667ff2ba08edd993cf0a1;p=cascardo%2Ff2fchat.git diff --git a/doc/workflows.txt b/doc/workflows.txt new file mode 100644 index 0000000..14e935a --- /dev/null +++ b/doc/workflows.txt @@ -0,0 +1,13 @@ +Socket receive messages: + 1) Check authenticity. + a) From self, accept any commands. + b) From a friend, accept some commands. + c) From unknown friend, accept less commands, or queue + for authorization. + +Example: add new friend + +1) Receive message from unknown friend. +2) Add to queue (inbox?) for friendship. +3) Self connects, ask for last messages in queue (inbox). +4) Self sends message adding friend.