public class NettyStreamingConnectionFactory extends java.lang.Object implements StreamingChannel.Factory
StreamingChannel.Factory.Global
Modifier and Type | Field and Description |
---|---|
static int |
MAX_CONNECT_ATTEMPTS |
Constructor and Description |
---|
NettyStreamingConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
static NettyStreamingChannel |
connect(OutboundConnectionSettings template,
int messagingVersion,
StreamingChannel.Kind kind) |
StreamingChannel |
create(java.net.InetSocketAddress to,
java.net.InetSocketAddress preferred,
int messagingVersion,
StreamingChannel.Kind kind) |
StreamingChannel |
create(java.net.InetSocketAddress to,
int messagingVersion,
StreamingChannel.Kind kind) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
supportsPreferredIp
public static NettyStreamingChannel connect(OutboundConnectionSettings template, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
java.io.IOException
public StreamingChannel create(java.net.InetSocketAddress to, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
create
in interface StreamingChannel.Factory
java.io.IOException
public StreamingChannel create(java.net.InetSocketAddress to, java.net.InetSocketAddress preferred, int messagingVersion, StreamingChannel.Kind kind) throws java.io.IOException
create
in interface StreamingChannel.Factory
java.io.IOException
Copyright © 2009-2022 The Apache Software Foundation