Class FtSecure

  • All Implemented Interfaces:
    Front

    public final class FtSecure
    extends Object
    implements Front
    Secure (SSL) front.

    Make sure that valid keystore and certificates are available to the underlying JSSE infrastructure.

    The class is immutable and thread-safe.

    Since:
    0.25
    • Constructor Detail

      • FtSecure

        public FtSecure​(Take tks,
                        int prt)
                 throws IOException
        Ctor.
        Parameters:
        tks - Take
        prt - Port
        Throws:
        IOException - If fails
      • FtSecure

        public FtSecure​(Back bck,
                        int port)
                 throws IOException
        Ctor.
        Parameters:
        bck - Back
        port - Port
        Throws:
        IOException - If fails
    • Method Detail

      • start

        public void start​(Exit exit)
                   throws IOException
        Description copied from interface: Front
        Start and dispatch all incoming sockets.
        Specified by:
        start in interface Front
        Parameters:
        exit - When to exit
        Throws:
        IOException - If fails