forked from hyperledger-archives/indy-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
connection-inviter.puml
23 lines (15 loc) · 952 Bytes
/
connection-inviter.puml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@startuml
title
Connection API as Inviter
The diagram shows Connection object state transitions in case acting as an Inviter
end title
[*] --> VcxStateInitialized: vcx_connection_create
VcxStateInitialized --> VcxStateOfferSent: vcx_connection_connect
note left of VcxStateOfferSent : use vcx_connection_update_state \n or vcx_connection_update_state_with_message \n for connection status updates
VcxStateOfferSent --> VcxStateRequestReceived: received `ConnectionRequest` message
VcxStateOfferSent --> VcxStateNone: received `ConnectionProblemReport` message
note left of VcxStateRequestReceived : use vcx_connection_update_state \n or vcx_connection_update_state_with_message \n for connection status updates
VcxStateRequestReceived --> VcxStateAccepted: received `Ack` message
VcxStateRequestReceived --> VcxStateAccepted: received `Ping` message
VcxStateRequestReceived --> VcxStateNone: received `ConnectionProblemReport` message
@enduml