Class Sentinel

  • All Implemented Interfaces:
    Runnable

    public class Sentinel
    extends Object
    implements Runnable
    Track mobile agents and take action on suspicious behavior
    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
      • pollingInterval

        protected long pollingInterval
      • timeToQuit

        protected boolean timeToQuit
      • enabled

        protected boolean enabled
    • Constructor Detail

      • Sentinel

        public Sentinel()
        Create a Sentinel - set it running and bind into the Namespace
    • Method Detail

      • start

        public static void start()
        Start up the Sentinel thread
      • getPollingInterval

        public long getPollingInterval()
        Get the currently configured polling interval
        Returns:
        the currently configured polling interval
      • quit

        public void quit()
        Safely stop the monitoring Thread
      • run

        public void run()
        Runnable interface where we get to monitor stuff
        Specified by:
        run in interface Runnable
      • run

        protected void run​(Protocol protocol)
      • configure

        protected void configure()
        Get the Configurator
      • init

        protected void init()
        Initialize Protocols