Class VertxEventLoopGroupTransport

java.lang.Object
io.vertx.core.net.impl.transport.Transport
ru.tinkoff.kora.vertx.common.VertxEventLoopGroupTransport

public class VertxEventLoopGroupTransport extends io.vertx.core.net.impl.transport.Transport
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     
  • Field Summary

    Fields inherited from class io.vertx.core.net.impl.transport.Transport

    ACCEPTOR_EVENT_LOOP_GROUP, IO_EVENT_LOOP_GROUP, JDK
  • Constructor Summary

    Constructors
    Constructor
    Description
    VertxEventLoopGroupTransport(io.netty.channel.EventLoopGroup eventLoopGroup, ru.tinkoff.kora.netty.common.NettyChannelFactory nettyChannelFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.channel.ChannelFactory<? extends io.netty.channel.Channel>
    channelFactory(boolean domainSocket)
     
    void
    configure(io.netty.channel.socket.DatagramChannel channel, io.vertx.core.datagram.DatagramSocketOptions options)
     
    void
    configure(io.vertx.core.net.ClientOptionsBase options, boolean domainSocket, io.netty.bootstrap.Bootstrap bootstrap)
     
    void
    configure(io.vertx.core.net.NetServerOptions options, boolean domainSocket, io.netty.bootstrap.ServerBootstrap bootstrap)
     
    convert(io.vertx.core.net.SocketAddress address)
     
    io.vertx.core.net.SocketAddress
     
    io.netty.channel.socket.DatagramChannel
     
    io.netty.channel.socket.DatagramChannel
    datagramChannel(io.netty.channel.socket.InternetProtocolFamily family)
     
    io.netty.channel.EventLoopGroup
    eventLoopGroup(int type, int nThreads, ThreadFactory threadFactory, int ioRatio)
     
    boolean
     
    io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel>
    serverChannelFactory(boolean domainSocket)
     
     

    Methods inherited from class io.vertx.core.net.impl.transport.Transport

    nativeTransport, transport

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VertxEventLoopGroupTransport

      public VertxEventLoopGroupTransport(io.netty.channel.EventLoopGroup eventLoopGroup, ru.tinkoff.kora.netty.common.NettyChannelFactory nettyChannelFactory)
  • Method Details

    • isAvailable

      public boolean isAvailable()
      Overrides:
      isAvailable in class io.vertx.core.net.impl.transport.Transport
    • unavailabilityCause

      public Throwable unavailabilityCause()
      Overrides:
      unavailabilityCause in class io.vertx.core.net.impl.transport.Transport
    • convert

      public SocketAddress convert(io.vertx.core.net.SocketAddress address)
      Overrides:
      convert in class io.vertx.core.net.impl.transport.Transport
    • convert

      public io.vertx.core.net.SocketAddress convert(SocketAddress address)
      Overrides:
      convert in class io.vertx.core.net.impl.transport.Transport
    • eventLoopGroup

      public io.netty.channel.EventLoopGroup eventLoopGroup(int type, int nThreads, ThreadFactory threadFactory, int ioRatio)
      Overrides:
      eventLoopGroup in class io.vertx.core.net.impl.transport.Transport
    • datagramChannel

      public io.netty.channel.socket.DatagramChannel datagramChannel()
      Overrides:
      datagramChannel in class io.vertx.core.net.impl.transport.Transport
    • datagramChannel

      public io.netty.channel.socket.DatagramChannel datagramChannel(io.netty.channel.socket.InternetProtocolFamily family)
      Overrides:
      datagramChannel in class io.vertx.core.net.impl.transport.Transport
    • channelFactory

      public io.netty.channel.ChannelFactory<? extends io.netty.channel.Channel> channelFactory(boolean domainSocket)
      Overrides:
      channelFactory in class io.vertx.core.net.impl.transport.Transport
    • serverChannelFactory

      public io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> serverChannelFactory(boolean domainSocket)
      Overrides:
      serverChannelFactory in class io.vertx.core.net.impl.transport.Transport
    • configure

      public void configure(io.netty.channel.socket.DatagramChannel channel, io.vertx.core.datagram.DatagramSocketOptions options)
      Overrides:
      configure in class io.vertx.core.net.impl.transport.Transport
    • configure

      public void configure(io.vertx.core.net.ClientOptionsBase options, boolean domainSocket, io.netty.bootstrap.Bootstrap bootstrap)
      Overrides:
      configure in class io.vertx.core.net.impl.transport.Transport
    • configure

      public void configure(io.vertx.core.net.NetServerOptions options, boolean domainSocket, io.netty.bootstrap.ServerBootstrap bootstrap)
      Overrides:
      configure in class io.vertx.core.net.impl.transport.Transport