Skip to content

Improve separation of concerns and remove EM legacy naming#4

Merged
henrikbjorn merged 1 commit intomasterfrom
separation-of-concerns
Mar 6, 2026
Merged

Improve separation of concerns and remove EM legacy naming#4
henrikbjorn merged 1 commit intomasterfrom
separation-of-concerns

Conversation

@henrikbjorn
Copy link
Member

Summary

  • Move read_loop from Base to Connection, using a block-based API so Connection owns all protocol I/O
  • Client/Server wire connection.read_loop to listener.receive_message — pure orchestration
  • Rename send_datawrite, close_connection_after_writing/donedisconnect to remove EventMachine holdovers
  • Update README, tests, and all callers

…EM legacy methods

- Move read_loop from Base to Connection with block-based API
- Client/Server wire connection.read_loop to listener.receive_message
- Rename send_data → write, close_connection_after_writing/done → disconnect
- Update README, tests, and all callers
@henrikbjorn henrikbjorn requested review from c960657 and mkyed March 2, 2026 08:07
@henrikbjorn henrikbjorn self-assigned this Mar 2, 2026
Copy link
Member

@mkyed mkyed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🆒

@henrikbjorn henrikbjorn merged commit f3b02ed into master Mar 6, 2026
3 checks passed
@henrikbjorn henrikbjorn deleted the separation-of-concerns branch March 6, 2026 09:16
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.

2 participants