ChannelOutboundHandler implementation which allows to dynamically replace the used
remoteAddress and / or localAddress when making a connection attempt.
This can be useful to for example bind to a specific NetworkInterface based on
the remoteAddress.
| Access | Constructor and Description |
|---|---|
| public |
| DynamicAddressConnectHandler | back to summary |
|---|---|
| public DynamicAddressConnectHandler() | |
| localAddress | back to summary |
|---|---|
| protected SocketAddress localAddress(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception Returns the local | |
| remoteAddress | back to summary |
|---|---|
| protected SocketAddress remoteAddress(SocketAddress remoteAddress, SocketAddress localAddress) throws Exception Returns the remote | |