public class ClusterAuthRMIClientSocketFactoryHelper extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ClusterAuthRMIClientSocketFactoryHelper.BiFunctionWithThrowable<T,U,R,E extends Throwable> |
Constructor and Description |
---|
ClusterAuthRMIClientSocketFactoryHelper() |
Modifier and Type | Method and Description |
---|---|
static Socket |
createSocket(ClusterAuthRMIClientSocketFactoryHelper.BiFunctionWithThrowable<String,Integer,Socket,IOException> socketSupplier,
String host,
int port) |
static RMIClientSocketFactory |
getInstance(Integer socketTimeoutMillis) |
public ClusterAuthRMIClientSocketFactoryHelper()
public static RMIClientSocketFactory getInstance(@Nullable Integer socketTimeoutMillis)
public static Socket createSocket(ClusterAuthRMIClientSocketFactoryHelper.BiFunctionWithThrowable<String,Integer,Socket,IOException> socketSupplier, String host, int port) throws IOException
IOException
Copyright © 2002-2022 Atlassian. All Rights Reserved.