Class FtRemote

  • All Implemented Interfaces:
    Front

    public final class FtRemote
    extends Object
    implements Front
    Front remote control.

    The class is immutable and thread-safe.

    Since:
    0.1
    • Constructor Detail

      • FtRemote

        public FtRemote​(Back bck,
                        ServerSocket skt)
        Ctor.
        Parameters:
        bck - Back
        skt - Server socket to use
        Since:
        0.22
    • 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
      • exec

        public void exec​(FtRemote.Script script)
                  throws Exception
        Execute this script against a running front.
        Parameters:
        script - Script to run
        Throws:
        Exception - If fails