- java.lang.Object
-
- io.netty5.handler.address.ResolveAddressHandler
-
- All Implemented Interfaces:
io.netty5.channel.ChannelHandler
public class ResolveAddressHandler extends Object implements io.netty5.channel.ChannelHandler
ChannelHandlerwhich will resolve theSocketAddressthat is passed toconnect(ChannelHandlerContext, SocketAddress, SocketAddress)if it is not already resolved and theAddressResolversupports the type ofSocketAddress.
-
-
Constructor Summary
Constructors Constructor Description ResolveAddressHandler(io.netty5.resolver.AddressResolverGroup<? extends SocketAddress> resolverGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty5.util.concurrent.Future<Void>connect(io.netty5.channel.ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)booleanisSharable()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty5.channel.ChannelHandler
bind, channelActive, channelExceptionCaught, channelInactive, channelInboundEvent, channelRead, channelReadComplete, channelRegistered, channelShutdown, channelUnregistered, channelWritabilityChanged, close, deregister, disconnect, flush, handlerAdded, handlerRemoved, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
-
-
-
-
Constructor Detail
-
ResolveAddressHandler
public ResolveAddressHandler(io.netty5.resolver.AddressResolverGroup<? extends SocketAddress> resolverGroup)
-
-
Method Detail
-
isSharable
public boolean isSharable()
- Specified by:
isSharablein interfaceio.netty5.channel.ChannelHandler
-
connect
public io.netty5.util.concurrent.Future<Void> connect(io.netty5.channel.ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)
- Specified by:
connectin interfaceio.netty5.channel.ChannelHandler
-
-