-
Notifications
You must be signed in to change notification settings - Fork 1k
Porting status and notes
Onat Yiğit Mercan edited this page Apr 27, 2016
·
8 revisions
- Lack of an access modifier in Java is the equivalent of internal in .Net.
- If the class being ported doesn't have an access modifier then the class is internal, and all functions/fields/properties/etc.. without an access modifier can be marked as public instead of internal.
- Common utils
-
ThreadLocalPoolisRecycler -
Taskis used in place ofChannelFuture. -
TaskCompletionSourceis used in place ofChannelPromise. - Byte Buffers
-
IByteBufferisByteBuf, AbstractByteBuffer isAbstarctByteBuf, etc. -
PooledByteBufferAllocatorandPooledByteBufferis a simple buffer pool implementation using fixed size buffers kept onThreadPool - EventExecutors and EventLoops
- Channels
AbstractChannel-
AbstractSocketChannelisAbstractNioChannel -
TcpServerSocketChannelisNioServerSocketChannel -
TcpSocketChannelisNioSocketChannel - Codecs
-
ByteToMessageDecoderandMessageToMessageEncoderprovide the same functionality as their counterparts in netty -
ReplayingDecoderis a variation of netty's version. Instead of using Signal, it only provides an explicit way to request a replay. -
DotNetty.Codecs.Mqttcontains port of MQTT codec with a few tweaks - SSL/TLS
-
TlsHandlerusesSslStream(SChannel) to provide functionality similar toSslHandlerin netty