Created
June 9, 2014 15:24
-
-
Save sbrauer/aaf6946d0aa678e20b13 to your computer and use it in GitHub Desktop.
Msg proxy sequence diagram source
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
note over data: receive new lead | |
note over t_addresses,t_messages | |
(this note is here to position these entities) | |
end note | |
data->msg_proxy: send request to msg_proxy | |
note over data | |
* lead ID | |
* landlord name & address | |
* renter name & address | |
end note | |
msg_proxy->t_addresses: insert records for addresses | |
note over t_addresses | |
* lead ID | |
* name | |
end note | |
msg_proxy->data: receive response from msg_proxy | |
note over data | |
* proxy addresses | |
end note | |
note over data: prepare message template with proxy addresses | |
data->msg_proxy: send first message to landlord's PROXY address | |
loop msg_proxy mediates conversation between a landlord and a single renter | |
msg_proxy->t_addresses: look up lead ID and real address for landlord's proxy address | |
msg_proxy->t_messages: insert record for landlord's reply | |
note over t_messages | |
* lead ID | |
* text_body | |
* html_body | |
* subject | |
* status="new" | |
* from_address_id | |
* to_address_id | |
end note | |
msg_proxy->landlord: send message to landlord's REAL address | |
landlord->msg_proxy: reply to renter's PROXY address | |
msg_proxy->t_addresses: look up lead ID and real address for renter's proxy address | |
msg_proxy->t_messages: insert record for renter's reply | |
note over t_messages | |
* lead ID | |
* text_body | |
* html_body | |
* subject | |
* status="new" | |
* from_address_id | |
* to_address_id | |
end note | |
msg_proxy->renter: send message to renter's REAL address | |
renter->msg_proxy: reply to landlord's PROXY address | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment