Commit Graph
11 Commits
Author SHA1 Message Date
Ian Partridge da65c4f629 Define ChannelDuplexHandler as a typealias (#74) 2018-03-03 10:16:39 +09:00
Ian Partridge 1167841b6f typo: ChannnelDuplexHandler should be ChannelDuplexHandler (#69) 2018-03-02 21:56:33 +09:00
adamnemecek 0bbed6d72f * removed trailing whitespace (#52) 2018-03-02 15:40:52 +09:00
Norman Maurer 613998ba9e Add ChannelDuplexHandler protocol (#65)
Motivation:

Sometimes a user needs to implement ChannelInboundHandler and ChannelOutboundHandler. We should remove some of the "boilerplate" code for doing so.

Modifications:

- Add ChannelDuplexHandler and use it.

Result:

Less boilerplate code.
2018-03-02 14:52:42 +09:00
Norman Maurer eabbb2fa1c Add documentation for protocols and extensions in ChannelHandler (#7)
Motivation:

We should include docs for our core abstractions. This adds docs for ChannelHandler and sub-protocols.

Modifications:

Add docs.

Result:

More docs.
2018-02-22 18:02:28 +01:00
Johannes Weiss db28cf4452 don't pretend user events are typed & remove tryUnwrap for in/outbound data 2018-01-19 14:12:57 +00:00
Max (Swift) Moiseev 198d6b447b Explicit access modifiers on members in extensions 2017-11-18 04:40:26 -08:00
Johannes Weiß 6173bee782 Split IOData into NIOAny & IOData (ByteBuffer | FileRegion) 2017-10-25 19:31:27 +01:00
Cory Benfield 0c3d04580b Correctly try to unwrap InboundIn 2017-09-13 08:26:07 +01:00
Cory Benfield 251e63e82b Create _EmittingHandler 2017-09-11 16:38:43 +01:00
Johannes Weiß c09178ceb2 baby steps towards a type-safe Channel pipeline 2017-06-30 13:04:19 +01:00