public Socket createSocket()

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


  public Socket createSocket(final InetAddress host, final int port, final InetAddress localAddress,
                             final int localPort)
      throws IOException {
    final SSLSocket s = (SSLSocket) sslSocketFactory.createSocket(host, port, localAddress, localPort);
    if (enabledCipherSuites != null) {
      s.setEnabledCipherSuites(enabledCipherSuites);
    }
    return s;
  }