3099bbcc13
Motiviation: EmbeddedChannel currently is quite differently in terms of semantics to other Channel implementations. We should better change it to be more closely aligned and so have the testing code be more robust. Modifications: - Change EmbeddedEventLoop.inEventLoop() to only return true if we currenlty run pending / scheduled tasks - Change EmbeddedEventLoop.execute(...) to automatically process pending tasks if not already doing so - Adjust a few tests for the new semantics (which is closer to other Channel implementations) Result: EmbeddedChannel works more like other Channel implementations |
||
---|---|---|
.. | ||
bootstrap | ||
channel |