Skip to content

feat(heartbeat): add events for heartbeat state machine - #173

Merged
nickkkccc merged 1 commit into
masterfrom
add-heartbeat-events
Nov 17, 2026
Merged

nickkkccc merged 1 commit into
masterfrom
add-heartbeat-events

Conversation

@nickkkccc

@nickkkccc nickkkccc commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor
  • Add events for heartbeat state machine:
    • StartEvent: sent to start the state machine and initiate the heartbeat process.
    • PongEvent: sent when a ping response is received and needs to be processed.
    • SendPingEvent: sent when a ping request needs to be dispatched.
    • StopEvent: control event sent to stop the state machine.
    • ActivateEvent: sent to make the connection available to the load balancer.
    • InvalidateEvent: sent to make the connection unavailable to the load balancer.
    • KillEvent: sent when the connection is considered dead and reconnection is required.

I haven't forgotten about:

  • Tests
  • Changelog
  • Documentation
    • JavaDoc was written
  • Commit messages comply with the guideline
  • Cleanup the code for review. See checklist

Related issues:

- Add events for heartbeat state machine:
  - StartEvent: sent to start the state machine and initiate the
    heartbeat process.
  - PongEvent: sent when a ping response is received and needs to
    be processed.
  - SendPingEvent: sent when a ping request needs to be dispatched.
  - StopEvent: control event sent to stop the state machine.
  - ActivateEvent: sent to make the connection available to the
    load balancer.
  - InvalidateEvent: sent to make the connection unavailable to the
    load balancer.
  - KillEvent: sent when the connection is considered dead and
    reconnection is required.
@nickkkccc nickkkccc self-assigned this Nov 17, 2026
@nickkkccc
nickkkccc merged commit d459e38 into master Nov 17, 2026
8 checks passed
@nickkkccc
nickkkccc deleted the add-heartbeat-events branch November 17, 2026 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant