|Modifier and Type||Method and Description|
public static Mono<Channel> bind(TransportConfig config, ChannelInitializer<Channel> channelInitializer, SocketAddress bindAddress, boolean isDomainSocket)
public static Mono<Channel> connect(TransportConfig config, SocketAddress remoteAddress, AddressResolverGroup<?> resolverGroup, ChannelInitializer<Channel> channelInitializer)
Channelto the remote peer.
config- the transport configuration
SocketAddressto connect to
resolverGroup- the resolver which will resolve the address of the unresolved named address
ChannelInitializerthat will be used for initializing the channel pipeline