Send Pending Messages After Successful Handshake #111
Labels
No Label
client
server
user made
L
M
S
XL
bug
bugfix
discussion
documentation
feature
maintenance
postponed
refactoring
wontfix
No Milestone
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: zdm/envoy#111
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "b/slow-handshake"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of caching pending messages during the handshake and relaying
them afterwards, they are now sent after the handshake has been
completed.
This is possible because the relevant processors (messages and status
changes) are now event handlers which are registered at the event bus,
which means that they can immediately react to pending messages even if
Client#initReceiver
has not been fully executed yet.Because
Client#initReceiver
exists for that very reason, it is nolonger necessary anymore. ID generator initialization, which was its other part,
is now directly handled in
Startup#performHandshake
, which is a far moresensible placement.
Fixes #106
👍