Class NettyWrappedContext

java.lang.Object
crow.game.codec.netty.NettyWrappedContext
All Implemented Interfaces:
Context

public class NettyWrappedContext extends Object implements Context
Implementation of Context which wraps an upper-level context and sets the Context.Source to the given value and sets the underlying object to an instance of ChannelHandlerContext.
  • Field Details

    • context

      protected final Context context
    • nettyContext

      protected final io.netty.channel.ChannelHandlerContext nettyContext
    • source

      protected final Context.Source source
  • Constructor Details

    • NettyWrappedContext

      public NettyWrappedContext(Context.Source src, Context context, io.netty.channel.ChannelHandlerContext nettyContext)
  • Method Details