Class SerialFactory

    • Method Detail

      • createInstance

        public static Serial createInstance()
        Create New Serial instance
        Returns:
        Return a new Serial implementation instance.
      • setExecutorServiceFactory

        public static void setExecutorServiceFactory​(ExecutorServiceFactory executorServiceFactory)
        Parameters:
        executorServiceFactory - service factory instance
      • isShutdown

        public static boolean isShutdown()
        This method returns TRUE if the serial controller has been shutdown.
        Returns:
        shutdown state
      • shutdown

        public static void shutdown()
        This method can be called to forcefully shutdown all serial port monitoring, listening, and task threads/executors.