Skip to content

Commit

Permalink
Rewrite of ManagedSelector to handle connection creation as an Execut…
Browse files Browse the repository at this point in the history
…ionStrategy task.

Now the creation of a connection, and the Connection.onOpen() call
happen as a Runnable that is run by the ExecutionStrategy.
This allows onOpen() to block or otherwise perform tasks that are not
suitable to be run by a selector thread, since the ExecutionStrategy
will guarantee that another thread will take over the selector duties.
  • Loading branch information
sbordet committed Feb 18, 2015
1 parent 59ae845 commit adaa520
Show file tree
Hide file tree
Showing 3 changed files with 305 additions and 128 deletions.

0 comments on commit adaa520

Please sign in to comment.