Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/odilPublic
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Throw a SocketClosed exception when the socket is closed.#47

Open
cguebert wants to merge1 commit intolamyj:master
base:master
Choose a base branch
Loading
fromcguebert:SocketClose

Conversation

cguebert
Copy link
Contributor

@cguebertcguebert commentedJan 2, 2017
edited
Loading

There is currently no way to distinguish between the socket being closed and any exception occurring during message processing.
As a temporary measure, I propose to send a SocketClosed exception that must be processed by the user application (as is the case with AssociationReleased and AssociationAborted). In the future, it can be interesting to rewrite parts of the StateMachine and the Transport classes to ensure correct transitions (and true asynchronous operations).

This is a possible solution to#39.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 84.57% when pulling28f009d on cguebert:SocketClose into225ddc3 on lamyj:master.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@cguebert@coveralls

[8]ページ先頭

©2009-2025 Movatter.jp