Commit Graph
15 Commits
Author SHA1 Message Date
Norman Maurer 66c02bf30b Ensure the EventLoop is currently only accessed from the same thread 2017-05-18 08:58:47 +02:00
Norman Maurer 4b4c3c2dbd Simplify eventloop handling 2017-05-15 22:42:36 +02:00
Norman Maurer 18a844a633 Cleaner handling for registering for InterestedEvents 2017-05-15 22:32:52 +02:00
Norman Maurer 13b7b61b9a Ensure we correctly handle EOF when read and also that we never re-register when the Channel was closed 2017-05-15 20:26:07 +02:00
Norman Maurer a4fc805685 Ensure we not re-register on the eventLoop once the channel was already closed 2017-05-15 19:32:08 +02:00
Norman Maurer d626e49b2f Make inEventLoop a property 2017-05-14 21:09:46 +02:00
Norman Maurer d839ed1c52 Remove a few reference-cycles and so memory leaks 2017-05-14 20:41:38 +02:00
Norman Maurer 6587222278 Make the pipeline more usable by adding add/remove/contains methods 2017-05-11 13:29:35 +02:00
Norman Maurer 41484d1c85 Add ChannelConfig and make a few things configurable 2017-05-11 12:44:01 +02:00
Norman Maurer 6f54d3cd3b Cleanup init code 2017-05-11 08:15:33 +02:00
Norman Maurer 6a55209cb7 Only call accept() one time per EventLoop run 2017-05-09 20:21:49 +02:00
Norman Maurer a5276fd4d1 Add methods to create promise / future from EventLoop 2017-05-09 20:07:34 +02:00
Norman Maurer 91301591ea Move register / deregister / reregister code to EventLoop 2017-05-09 19:33:31 +02:00
Norman Maurer 90d2e5a2e1 Add register and unregister callbacks 2017-05-09 19:23:39 +02:00
Norman Maurer e193bc97f0 Split into two different modules 2017-05-09 12:50:19 +02:00