类 AirServer<CONN extends IConnect>

java.lang.Object
cn.godmao.airserver.AirServer<CONN>

public class AirServer<CONN extends IConnect> extends Object
  • 构造器详细资料

    • AirServer

      public AirServer(CONN connect)
  • 方法详细资料

    • getConnect

      public CONN getConnect()
    • start

      public void start()
    • getChannelService

      public ChannelService getChannelService()
    • channelBind

      public void channelBind(io.netty.channel.Channel channel, Object id)
    • getChannelId

      public Object getChannelId(io.netty.util.AttributeMap attributeMap)
    • getChannelExecutor

      public io.netty.util.concurrent.EventExecutor getChannelExecutor(io.netty.util.AttributeMap attributeMap)
    • send

      public io.netty.channel.ChannelFuture send(Object message, io.netty.channel.ChannelOutboundInvoker channelOutboundInvoker)
    • send

      public io.netty.channel.group.ChannelGroupFuture send(Object message)
    • send

      public io.netty.channel.group.ChannelGroupFuture send(Object message, io.netty.channel.group.ChannelMatcher matcher)
    • send

      public <T> io.netty.channel.group.ChannelGroupFuture send(Object message, Function<io.netty.channel.Channel,T> function, Collection<T> collection)
    • send

      public <T> io.netty.channel.group.ChannelGroupFuture send(Object message, Function<io.netty.channel.Channel,T> function, T... collection)