Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decouple message deserializer from the TCP socket #4160

Merged

Conversation

thsfs
Copy link
Contributor

@thsfs thsfs commented Feb 27, 2023

The message deserializer should not know about any socket class. If so, it would be bound to a specific channel implementation. Replaced this dependency by a function that reads and provides the required data. Modified the inproc channel to use the message deserializer instead of the old message parser, that will be removed.

@thsfs thsfs requested review from pwojcikdev and clemahieu and removed request for pwojcikdev February 27, 2023 20:25
@thsfs thsfs force-pushed the inproc_channel_with_message_desserializer branch from d590edf to 32c9108 Compare February 27, 2023 21:20
pwojcikdev
pwojcikdev previously approved these changes Mar 1, 2023
@pwojcikdev pwojcikdev dismissed their stale review March 1, 2023 01:21

Object lifetime problems

@thsfs thsfs merged commit a60b60a into nanocurrency:develop Mar 1, 2023
@thsfs thsfs deleted the inproc_channel_with_message_desserializer branch March 1, 2023 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants