public Socket createSocket()

in src/main/java/com/spotify/google/cloud/pubsub/client/ConfigurableSSLSocketFactory.java [67:74]


  public Socket createSocket(final Socket sock, final String host, final int port, final boolean autoClose)
      throws IOException {
    final SSLSocket s = (SSLSocket) sslSocketFactory.createSocket(sock, host, port, autoClose);
    if (enabledCipherSuites != null) {
      s.setEnabledCipherSuites(enabledCipherSuites);
    }
    return s;
  }