Package ru.tinkoff.kora.vertx.common
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 -
Field Summary
Fields inherited from class io.vertx.core.net.impl.transport.Transport
ACCEPTOR_EVENT_LOOP_GROUP, IO_EVENT_LOOP_GROUP, JDK -
Constructor Summary
ConstructorsConstructorDescriptionVertxEventLoopGroupTransport(io.netty.channel.EventLoopGroup eventLoopGroup) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.channel.ChannelFactory<? extends io.netty.channel.Channel>channelFactory(boolean domainSocket) voidconfigure(io.netty.channel.socket.DatagramChannel channel, io.vertx.core.datagram.DatagramSocketOptions options) voidconfigure(io.vertx.core.net.ClientOptionsBase options, boolean domainSocket, io.netty.bootstrap.Bootstrap bootstrap) voidconfigure(io.vertx.core.net.NetServerOptions options, boolean domainSocket, io.netty.bootstrap.ServerBootstrap bootstrap) convert(io.vertx.core.net.SocketAddress address) io.vertx.core.net.SocketAddressconvert(SocketAddress address) io.netty.channel.socket.DatagramChannelio.netty.channel.socket.DatagramChanneldatagramChannel(io.netty.channel.socket.InternetProtocolFamily family) io.netty.channel.EventLoopGroupeventLoopGroup(int type, int nThreads, ThreadFactory threadFactory, int ioRatio) booleanio.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel>serverChannelFactory(boolean domainSocket) Methods inherited from class io.vertx.core.net.impl.transport.Transport
nativeTransport, transport
-
Constructor Details
-
VertxEventLoopGroupTransport
public VertxEventLoopGroupTransport(io.netty.channel.EventLoopGroup eventLoopGroup)
-
-
Method Details
-
isAvailable
public boolean isAvailable()- Overrides:
isAvailablein classio.vertx.core.net.impl.transport.Transport
-
convert
- Overrides:
convertin classio.vertx.core.net.impl.transport.Transport
-
convert
- Overrides:
convertin classio.vertx.core.net.impl.transport.Transport
-
eventLoopGroup
public io.netty.channel.EventLoopGroup eventLoopGroup(int type, int nThreads, ThreadFactory threadFactory, int ioRatio) - Overrides:
eventLoopGroupin classio.vertx.core.net.impl.transport.Transport
-
datagramChannel
public io.netty.channel.socket.DatagramChannel datagramChannel()- Overrides:
datagramChannelin classio.vertx.core.net.impl.transport.Transport
-
datagramChannel
public io.netty.channel.socket.DatagramChannel datagramChannel(io.netty.channel.socket.InternetProtocolFamily family) - Overrides:
datagramChannelin classio.vertx.core.net.impl.transport.Transport
-
channelFactory
public io.netty.channel.ChannelFactory<? extends io.netty.channel.Channel> channelFactory(boolean domainSocket) - Overrides:
channelFactoryin classio.vertx.core.net.impl.transport.Transport
-
serverChannelFactory
public io.netty.channel.ChannelFactory<? extends io.netty.channel.ServerChannel> serverChannelFactory(boolean domainSocket) - Overrides:
serverChannelFactoryin classio.vertx.core.net.impl.transport.Transport
-
configure
public void configure(io.netty.channel.socket.DatagramChannel channel, io.vertx.core.datagram.DatagramSocketOptions options) - Overrides:
configurein classio.vertx.core.net.impl.transport.Transport
-
configure
public void configure(io.vertx.core.net.ClientOptionsBase options, boolean domainSocket, io.netty.bootstrap.Bootstrap bootstrap) - Overrides:
configurein classio.vertx.core.net.impl.transport.Transport
-
configure
public void configure(io.vertx.core.net.NetServerOptions options, boolean domainSocket, io.netty.bootstrap.ServerBootstrap bootstrap) - Overrides:
configurein classio.vertx.core.net.impl.transport.Transport
-