-
Notifications
You must be signed in to change notification settings - Fork 981
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
-
ThreadLocalPool
isRecycler
-
Task
is used in place ofChannelFuture
. -
TaskCompletionSource
is used in place ofChannelPromise
. - Byte Buffers
-
IByteBuffer
isByteBuf
, AbstractByteBuffer isAbstarctByteBuf
, etc. -
PooledByteBufferAllocator
andPooledByteBuffer
is a simple buffer pool implementation using fixed size buffers kept onThreadPool
- EventExecutors and EventLoops
- Channels
AbstractChannel
-
AbstractSocketChannel
isAbstractNioChannel
-
TcpServerSocketChannel
isNioServerSocketChannel
-
TcpSocketChannel
isNioSocketChannel
- Codecs
-
ByteToMessageDecoder
andMessageToMessageEncoder
provide the same functionality as their counterparts in netty -
ReplayingDecoder
is a variation of netty's version. Instead of using Signal, it only provides an explicit way to request a replay. -
DotNetty.Codecs.Mqtt
contains port of MQTT codec with a few tweaks - SSL/TLS
-
TlsHandler
usesSslStream
(SChannel) to provide functionality similar toSslHandler
in netty