/** * Construct an IPC client with the default SocketFactory * * @param valueClass * @param conf */ public Client() { this(NetUtils.getDefaultSocketFactory()); }
/** * Construct an IPC client with the default SocketFactory * * @param valueClass * @param conf */ public Client() { this(NetUtils.getDefaultSocketFactory()); }
public static SocketFactory getSocketFactory() { return getDefaultSocketFactory(); }
public static SocketFactory getSocketFactory() { return getDefaultSocketFactory(); }
/** * Construct a client-side proxy object with the default SocketFactory * * @param protocol * @param addr * @return * @throws IOException */ public static <V extends VersionedProtocol> V getProxy(Class<V> protocol, InetSocketAddress addr) throws IOException { return getProxy(protocol, addr, NetUtils.getDefaultSocketFactory()); }
/** * Construct a client-side proxy object with the default SocketFactory * * @param protocol * @param addr * @return * @throws IOException */ public static <V extends VersionedProtocol> V getProxy(Class<V> protocol, InetSocketAddress addr) throws IOException { return getProxy(protocol, addr, NetUtils.getDefaultSocketFactory()); }