ChannelOutboundHandlerAdapter which will resolve the SocketAddress that is passed to
connect(ChannelHandlerContext, SocketAddress, SocketAddress, ChannelPromise) if it is not already resolved
and the AddressResolver supports the type of SocketAddress.
| Modifier and Type | Field and Description |
|---|---|
| private final AddressResolverGroup |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | connect(final ChannelHandlerContext
the ctx, SocketAddress ChannelHandlerContext for which the connect operation is madethe remoteAddress, final SocketAddress SocketAddress to which it should connectthe localAddress, final ChannelPromise SocketAddress which is used as source on connectthe promise)ChannelPromise to notify once the operation completesOverrides io. Implements io. ChannelHandlerContext#connect(SocketAddress, SocketAddress, ChannelPromise) to forward
to the next ChannelOutboundHandler in the ChannelPipeline.
|
| resolverGroup | back to summary |
|---|---|
| private final AddressResolverGroup<? extends SocketAddress> resolverGroup | |
| ResolveAddressHandler | back to summary |
|---|---|
| public ResolveAddressHandler(AddressResolverGroup<? extends SocketAddress> resolverGroup) | |