ProxySocketFactories (Apache Geode 1.15.4)

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 and Description
    `ProxySocketFactories()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### ProxySocketFactories

          public ProxySocketFactories()

  - ### Method Detail

    - #### 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