public class UdpClientBuilder<I,O> extends AbstractClientBuilder<I,O,UdpClientBuilder<I,O>,RxClient<I,O>>
RxClientImpl
bootstrap, channelFactory, clientConfig, connectionFactory, eventListenersFactory, eventLoopGroup, eventsSubject, pipelineConfigurator, poolBuilder, serverInfo, socketChannel, wireLogginLevel
Constructor and Description |
---|
UdpClientBuilder(java.lang.String host,
int port) |
UdpClientBuilder(java.lang.String host,
int port,
io.netty.bootstrap.Bootstrap bootstrap) |
Modifier and Type | Method and Description |
---|---|
protected RxClient<I,O> |
createClient() |
protected java.lang.String |
generatedNamePrefix() |
protected ConnectionPoolBuilder<O,I> |
getPoolBuilder(boolean createNew) |
protected MetricEventsListener<? extends ClientMetricsEvent<?>> |
newMetricsListener(MetricEventsListenerFactory factory,
RxClient<I,O> client) |
UdpClientBuilder<I,O> |
withSslEngineFactory(SSLEngineFactory sslEngineFactory) |
appendPipelineConfigurator, build, channel, channelOption, config, defaultChannelOptions, defaultEventloop, defaultSocketChannelClass, defaultTcpOptions, defaultUdpOptions, enableWireLogging, eventloop, getBootstrap, getEventsSubject, getOrCreateName, getPipelineConfigurator, getServerInfo, pipelineConfigurator, returnBuilder, withChannelFactory, withConnectionPoolLimitStrategy, withIdleConnectionsTimeoutMillis, withMaxConnections, withMetricEventsListenerFactory, withName, withNoConnectionPooling, withNoIdleConnectionCleanup, withPoolIdleCleanupScheduler
public UdpClientBuilder(java.lang.String host, int port)
public UdpClientBuilder(java.lang.String host, int port, io.netty.bootstrap.Bootstrap bootstrap)
protected RxClient<I,O> createClient()
createClient
in class AbstractClientBuilder<I,O,UdpClientBuilder<I,O>,RxClient<I,O>>
public UdpClientBuilder<I,O> withSslEngineFactory(SSLEngineFactory sslEngineFactory)
withSslEngineFactory
in class AbstractClientBuilder<I,O,UdpClientBuilder<I,O>,RxClient<I,O>>
protected ConnectionPoolBuilder<O,I> getPoolBuilder(boolean createNew)
getPoolBuilder
in class AbstractClientBuilder<I,O,UdpClientBuilder<I,O>,RxClient<I,O>>
protected java.lang.String generatedNamePrefix()
generatedNamePrefix
in class AbstractClientBuilder<I,O,UdpClientBuilder<I,O>,RxClient<I,O>>
protected MetricEventsListener<? extends ClientMetricsEvent<?>> newMetricsListener(MetricEventsListenerFactory factory, RxClient<I,O> client)
newMetricsListener
in class AbstractClientBuilder<I,O,UdpClientBuilder<I,O>,RxClient<I,O>>