Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This class reads data from the given socket asynchroniously and makes them available in a preparsed manner on the main thread. It is important that the given socket is only used by one thread at a time, as such, if you create a MessageHandler for a certain socket, you need to take care to not use that socket at all while the message handler is alive.
- Loading branch information
Showing
2 changed files
with
224 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters