Class CommandServer

  • All Implemented Interfaces:
    Runnable

    @ApplicationScoped
    @Startup
    public class CommandServer
    extends Object
    implements Runnable
    This class receives string commands from a TCP socket and transform such commend into CDI event instances to be consumed by server side components/services.
    • Constructor Detail

      • CommandServer

        public CommandServer()
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable