summaryrefslogtreecommitdiff
path: root/connlifecycle.msc
blob: 7dafef394a0ab0d2e06f9788251ec1cc338c7a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
msc {
    client [label="Client code"],
    connProxy [label="Connection proxy"],
    busDaemon [label="Bus daemon"],
    svcConn [label="Connection service"];

    client=>connProxy [label="becomeReady()"];
    connProxy=>busDaemon [label="subscribe(change not.)"];
    connProxy=>busDaemon [label="subscribe(invalidation)"];
    connProxy=>svcConn [label="GetAll(Connection)"];

    ...;

    connProxy<<svcConn [label="GetAll() return with state"];
    client<<=connProxy [label="finished()"];

    client=>connProxy [label="getStatus()"];
    client<<connProxy [label="Connecting"];

    ...;

    connProxy<-svcConn [label="StatusChanged(CONNECTED)"];
    client<-connProxy [label="statusChanged(Connected)"];

    client=>connProxy [label="getStatus()"];
    client<<connProxy [label="Connected"];

    ...;

    client=>connProxy [label="disconnect()"];
    connProxy=>svcConn [label="Disconnect()"];
    ...;
    connProxy<<svcConn [label="Disconnect() return"];
    connProxy<-svcConn [label="StatusChanged(DISCONNECTED)"];
    client<<=connProxy [label="finished()"];

    connProxy->busDaemon [label="unsubscribe(conn. signals)"];
    client<-connProxy [label="invalidated()"];
    client=>connProxy [label="getInvalidationReason()"];
    client<<connProxy [label="\"Error.Disconnected\""];
}