Class ChannelOperatorModernImpl

java.lang.Object
io.github.retrooper.packetevents.netty.channel.ChannelOperatorModernImpl
All Implemented Interfaces:
com.github.retrooper.packetevents.netty.channel.ChannelOperator

public class ChannelOperatorModernImpl extends Object implements com.github.retrooper.packetevents.netty.channel.ChannelOperator
  • Constructor Details

    • ChannelOperatorModernImpl

      public ChannelOperatorModernImpl()
  • Method Details

    • remoteAddress

      public SocketAddress remoteAddress(Object channel)
      Specified by:
      remoteAddress in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • localAddress

      public SocketAddress localAddress(Object channel)
      Specified by:
      localAddress in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • isOpen

      public boolean isOpen(Object channel)
      Specified by:
      isOpen in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • close

      public Object close(Object channel)
      Specified by:
      close in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • write

      public Object write(Object channel, Object buffer)
      Specified by:
      write in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • flush

      public Object flush(Object channel)
      Specified by:
      flush in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • writeAndFlush

      public Object writeAndFlush(Object channel, Object buffer)
      Specified by:
      writeAndFlush in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • fireChannelRead

      public Object fireChannelRead(Object channel, Object buffer)
      Specified by:
      fireChannelRead in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • writeInContext

      public Object writeInContext(Object channel, String ctx, Object buffer)
      Specified by:
      writeInContext in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • flushInContext

      public Object flushInContext(Object channel, String ctx)
      Specified by:
      flushInContext in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • writeAndFlushInContext

      public Object writeAndFlushInContext(Object channel, String ctx, Object buffer)
      Specified by:
      writeAndFlushInContext in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • getPipeline

      public Object getPipeline(Object channel)
      Specified by:
      getPipeline in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • fireChannelReadInContext

      public Object fireChannelReadInContext(Object channel, String ctx, Object buffer)
      Specified by:
      fireChannelReadInContext in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • pipelineHandlerNames

      public List<String> pipelineHandlerNames(Object channel)
      Specified by:
      pipelineHandlerNames in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • getPipelineHandler

      public Object getPipelineHandler(Object channel, String name)
      Specified by:
      getPipelineHandler in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • getPipelineContext

      public Object getPipelineContext(Object channel, String name)
      Specified by:
      getPipelineContext in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • runInEventLoop

      public void runInEventLoop(Object channel, Runnable runnable)
      Specified by:
      runInEventLoop in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator
    • pooledByteBuf

      public Object pooledByteBuf(Object o)
      Specified by:
      pooledByteBuf in interface com.github.retrooper.packetevents.netty.channel.ChannelOperator