ProxySocketFactories (Apache Geode 2.0.2)
Description: declaration: package: org.apache.geode.cache.client.proxy, class: ProxySocketFactories

Package org.apache.geode.cache.client.proxy

# Class ProxySocketFactories

java.lang.Object
org.apache.geode.cache.client.proxy.ProxySocketFactories

public class ProxySocketFactories extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ProxySocketFactories()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static SocketFactory`
  `sni(String hostname, int port)`
  Create a `SocketFactory` that will connect a geode client through the configured SNI proxy.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ProxySocketFactories

    public ProxySocketFactories()

- ## Method Details

  - ### sni

    public static SocketFactory sni(String hostname, int port)
    Create a `SocketFactory` that will connect a geode client through the configured SNI proxy.
    Parameters:
      `hostname` - the hostname of the sni proxy
      `port` - the port of the sni proxy
    Returns:
      a `SocketFactory` that will connect a geode client through the configured SNI proxy