Class SecureSocketFactory

java.lang.Object
ch.autumo.beetroot.transport.SecureSocketFactory
All Implemented Interfaces:
SocketFactory

public class SecureSocketFactory extends Object implements SocketFactory
Secure Socket Factory.
  • Constructor Details

  • Method Details

    • create

      public Socket create(String host, int port) throws IOException
      Description copied from interface: SocketFactory
      Create client socket.
      Specified by:
      create in interface SocketFactory
      Parameters:
      host - host
      port - port
      Returns:
      client socket
      Throws:
      IOException - IO exception
    • getBaseSocketFactory

      public SSLSocketFactory getBaseSocketFactory()
      Return the base (java.net) SSL socket factory.
      Returns:
      base (java.net) SSL socket factory