- 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
ChannelHandler
which will resolve theSocketAddress
that is passed toconnect(ChannelHandlerContext, SocketAddress, SocketAddress)
if it is not already resolved and theAddressResolver
supports 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)
boolean
isSharable()
-
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:
isSharable
in interfaceio.netty5.channel.ChannelHandler
-
connect
public io.netty5.util.concurrent.Future<Void> connect(io.netty5.channel.ChannelHandlerContext ctx, SocketAddress remoteAddress, SocketAddress localAddress)
- Specified by:
connect
in interfaceio.netty5.channel.ChannelHandler
-
-