Browse Source

use embedded type

master
Volker Birk 7 months ago
parent
commit
1440950fb2
1 changed files with 8 additions and 14 deletions
  1. +8
    -14
      codegen/sync.fsm

+ 8
- 14
codegen/sync.fsm View File

@ -728,32 +728,26 @@ protocol Sync 1 {
}
state WaitForGroupUpdate {
on GroupSyncUpdate {
}
}
// reflect incoming ManagedGroup messages
on RequestUpdate {
message GroupSyncCreate 2 {
field Identity groupIdentity;
field Identity manager;
}
}
message GroupSyncAdopted 3 {
field Identity groupIdentity;
field Identity member;
}
// reflect incoming ManagedGroup messages
message GroupSyncDissolve 4 {
field Identity groupIdentity;
field Identity manager;
message GroupSyncUpdate 2 {
embed Distribution ManagedGroup msg;
}
// in case a ManagedGroup message arrives for an unknown group ask the
// other devices
message GroupSyncRequest 5 {
message GroupSyncRequest 3 {
field Identity groupIdentity;
field Identity manager;
}
}
}

Loading…
Cancel
Save